diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-26 01:11:54 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-26 01:11:54 +0000 |
commit | 8656ee07efbd5d47cde561d4ead67174970f989b (patch) | |
tree | f25b7adbe6236e9aec1b76b7eef1c18143b9a0b6 /winsup/cygwin/debug.cc | |
parent | 52aaab48f491505380eca98379beccdd8b4f2570 (diff) | |
download | cygnal-8656ee07efbd5d47cde561d4ead67174970f989b.tar.gz cygnal-8656ee07efbd5d47cde561d4ead67174970f989b.tar.bz2 cygnal-8656ee07efbd5d47cde561d4ead67174970f989b.zip |
* exceptions.cc (interruptible): Make a little more structured.
(call_handler): Allow signals to be sent even if signalled thread is stopped.
Change order of signal_arrived arming/waiting threads clearing to eliminate a
race.
(reset_signal_arrived): New helper function.
* malloc.cc (malloc_init): Use mutos so that signal handler can keep track of
who owns the lock.
(__malloc_lock): Ditto.
(__malloc_unlock): Ditto.
* sync.h (new_muto): Actually use a muto for the "buffer".
* Makefile.in: Fix a dependency.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index 6218312fe..e7ddec8af 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -9,6 +9,7 @@ details. */ #define NO_DEBUG_DEFINES #include "winsup.h" #include "exceptions.h" +#include "sync.h" static muto NO_COPY *threadname_lock = NULL; #define lock_threadname() \ |