Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 07:19:41 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sig.c src/sys/sys signalvar.h
Message-ID:  <200204041519.g34FJgg64949@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/04/04 07:19:41 PST

  Modified files:
    sys/kern             kern_sig.c 
    sys/sys              signalvar.h 
  Log:
  Optimized the check for unmasked pending signals in CURSIG() using a new
  inline function sigsetmasked() and a new macro SIGPENDING().  CURSIG()
  will soon be moved out of the normal path of execution for syscalls and
  traps.  Then its efficiency will be less important but the new interfaces
  will be useful for checking for unmasked pending signals in more places.
  
  Submitted by:           luoqi (long ago, in a slightly different form)
  
  Assert that sched_lock is not held in CURSIG().
  
  Revision  Changes    Path
  1.153     +2 -8      src/sys/kern/kern_sig.c
  1.48      +23 -0     src/sys/sys/signalvar.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204041519.g34FJgg64949>