summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-03-31 22:57:01 +0000
committerjeff <jeff@FreeBSD.org>2003-03-31 22:57:01 +0000
commit327373a2cb611991312bf58e8b57a3a637d96b2b (patch)
tree2f990dd67b435b3588d0f53b887cda8b922c2fe2
parentbc98ededbfe91b07fe0b8f903b7e93804239c689 (diff)
downloadFreeBSD-src-327373a2cb611991312bf58e8b57a3a637d96b2b.zip
FreeBSD-src-327373a2cb611991312bf58e8b57a3a637d96b2b.tar.gz
- 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.
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud