Re: cvs commit: src/sys/kern kern_sig.c

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Mon, 31 Mar 2003 18:08:19 -0500 (EST)
This was a force commit to get a more verbose comment on recent changes.

On Mon, 31 Mar 2003, Jeff Roberson wrote:

> jeff        2003/03/31 14:57:01 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             kern_sig.c
>   Log:
>    - The siglist in the proc holds signals that were blocked by all threads
>      when they were delivered.  In signotify() check to see if we have
>      unblocked any of those signals and post them to the thread.
>    - Use td_sigmask instead of p_sigmask in all cases.
>    - In sigpending return both signals pending on the thread and proc.
>    - Define a function, sigtd(), that finds the appropriate thread to deliver
>      the signal to if psignal() has been called instead of tdsignal().
>    - Define a function, tdsignal(), that delivers a signal to a specific thread
>      or if that thread has the signal blocked it may deliver it to the process
>      where it will wait for a thread to unblock it.
>    - Since we are delivering signals to a specific thread we do not need to
>      abort the sleep of all threads.
>    - Rename the old tdsignal() to tdsigwakeup().
>    - Save and restore the old signal mask to and from the thread.
>
>   Revision  Changes    Path
>   1.220     +0 -0      src/sys/kern/kern_sig.c
>
Received on Mon Mar 31 2003 - 15:08:21 UTC