Date: Mon, 31 Mar 2003 18:08:19 -0500 (EST) From: Jeff Roberson <jroberson@chesapeake.net> To: Jeff Roberson <jeff@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_sig.c Message-ID: <20030331180809.Q64602-100000@mail.chesapeake.net> In-Reply-To: <200303312257.h2VMv1fc030073@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030331180809.Q64602-100000>