Changed the signal handling code so that handle_signals() can be called without

having the thread lock held and interrupts disabled.
Cleaned up the signal handling code, and fixed some minor bugs with blockable
vs. non-blockable signals.
thread_debug_info was using uint64 for signals sets instead of sigset_t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-10-20 16:56:04 +00:00
parent 7121425eb5
commit 50374cbdca
5 changed files with 159 additions and 184 deletions
+2 -2
View File
@@ -55,9 +55,9 @@ struct thread_debug_info {
port_id debug_port;
// the port the thread is waiting on for commands from the nub thread
uint64 ignore_signals;
sigset_t ignore_signals;
// the signals the debugger is not interested in
uint64 ignore_signals_once;
sigset_t ignore_signals_once;
// the signals the debugger wishes not to be notified of, when they
// occur the next time