diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-03 03:32:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-03 03:32:27 +0000 |
commit | 243a041bd0164aa62813ac4ba5a1a02eb2db455b (patch) | |
tree | af591a485215fcd4578be09cfabe6ff75b0782fe /winsup/cygwin/sigproc.h | |
parent | 01432054cb24122d300f109d4d252a9c95835a9b (diff) | |
download | cygnal-243a041bd0164aa62813ac4ba5a1a02eb2db455b.tar.gz cygnal-243a041bd0164aa62813ac4ba5a1a02eb2db455b.tar.bz2 cygnal-243a041bd0164aa62813ac4ba5a1a02eb2db455b.zip |
* dll_init.h (class dll_list): Reorder functions to avoid compiler "can't
inline" warnings.
* security.h (class cygsid): Ditto.
* sigproc.cc (get_proc_lock): Ditto.
* sigproc.h (class sigframe): Ditto.
* sync.h (class muto): Ditto.
* fhandler.h (fhandler_base::get_guard): Actually MAKE virtual as previously
indicated.
* pipe.cc (make_pipe): Remove extraneous set_errno.
* syscalls.cc (_open): Ditto.
* select.cc (peek_pipe): Need to check that there is still something to read
from the pipe after acquiring the mutex since another process/thread could have
eaten the input before we got to acquiring the lock. (Thanks to Nick Duffek
for this inspiration.)
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 493078b9d..dc67b6b08 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -73,9 +73,6 @@ public: if (!oframe) t.get_winapi_lock (); } - - sigframe (): st (NULL) {} - sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) {init (t, ebp);} inline void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) { if (!t.frame && t.id == GetCurrentThreadId ()) @@ -83,6 +80,9 @@ public: else st = NULL; } + + sigframe (): st (NULL) {} + sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) {init (t, ebp);} ~sigframe () { unregister (); |