diff options
author | Christopher Faylor <me@cgf.cx> | 2005-02-06 05:04:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-02-06 05:04:34 +0000 |
commit | 85a798d6e755f4db4c04d92ecde1e5409a62cd59 (patch) | |
tree | f1b1eda0a4f9cdc38c11cd774e5db3e42f1de9cf /winsup/cygwin/cygthread.h | |
parent | 901b1fb9852e5ccaa66ad82c539447394727f33c (diff) | |
download | newlib-85a798d6e755f4db4c04d92ecde1e5409a62cd59.zip newlib-85a798d6e755f4db4c04d92ecde1e5409a62cd59.tar.gz newlib-85a798d6e755f4db4c04d92ecde1e5409a62cd59.tar.bz2 |
* cygthread.h (cygthread::terminate_thread): Reflect return value.
* cygthread.cc (cygthread::detach): Be more careful about ensuring that sigwait
is properly waited for to avoid later missynchronization.
(cygthread::terminate_thread): Return true if thread was actually terminated
and all handles were closed.
* fhandler_base.cc (fhandler_base::raw_read): Use signal_read_state rather than
raw calls to win32 api.
(fhandler_base::read): Ditto.
* fhandler.h (fhandler_pipe::fixup_after_exec): Use method to create read_state
signalling.
(fhandler_pipe::create): Ditto.
* Makefile.in: Make some more files -fomit-frame-pointer.
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r-- | winsup/cygwin/cygthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h index 73465ba..e1c2e49 100644 --- a/winsup/cygwin/cygthread.h +++ b/winsup/cygwin/cygthread.h @@ -27,7 +27,7 @@ class cygthread bool is_freerange; static bool exiting; public: - void terminate_thread (); + bool terminate_thread (); static DWORD WINAPI stub (VOID *); static DWORD WINAPI simplestub (VOID *); static DWORD main_thread_id; |