diff options
author | Christopher Faylor <me@cgf.cx> | 2001-10-31 02:58:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-10-31 02:58:38 +0000 |
commit | 774cd790fc052ad0e233d95902b1886b92b83254 (patch) | |
tree | 2946e0ef290a7d4dfc890d53f8cc9bdef8b112c1 /winsup/cygwin/sigproc.h | |
parent | 0fc07e4d6979ddde53a1c070408b037dca6719c5 (diff) | |
download | newlib-774cd790fc052ad0e233d95902b1886b92b83254.zip newlib-774cd790fc052ad0e233d95902b1886b92b83254.tar.gz newlib-774cd790fc052ad0e233d95902b1886b92b83254.tar.bz2 |
* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
* sigproc.h (sigframe): Decorate some methods with `inline'.
(new_muto): Coerce pointer to new to void *.
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 0afb027..493078b 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -50,7 +50,7 @@ class sigframe { private: sigthread *st; - bool unregister () + inline bool unregister () { if (!st) return 0; @@ -64,7 +64,7 @@ private: } public: - void set (sigthread &t, DWORD ebp, bool is_exception = 0) + inline void set (sigthread &t, DWORD ebp, bool is_exception = 0) { DWORD oframe = t.frame; st = &t; @@ -76,7 +76,7 @@ public: sigframe (): st (NULL) {} sigframe (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) {init (t, ebp);} - void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) + inline void init (sigthread &t, DWORD ebp = (DWORD) __builtin_frame_address (0)) { if (!t.frame && t.id == GetCurrentThreadId ()) set (t, ebp); |