diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-12 04:15:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-12 04:15:32 +0000 |
commit | c76d70d7c04797ab9c24ae134d602b78d201b052 (patch) | |
tree | 3f6a9cee5f9f8b91a60445bea53eab83f686bef8 /winsup/cygwin/thread.h | |
parent | 97cb9b9de404248a3c117a2f391696732ce6e860 (diff) | |
download | newlib-c76d70d7c04797ab9c24ae134d602b78d201b052.zip newlib-c76d70d7c04797ab9c24ae134d602b78d201b052.tar.gz newlib-c76d70d7c04797ab9c24ae134d602b78d201b052.tar.bz2 |
* miscfuncs.cc (low_priority_sleep): Correct thinko which caused SetPriority to
be called unnecessarily.
* thread.cc (pthread::init_main_thread): Call new create_cancel_event function.
(pthread::precreate): Ditto.
(pthread::postcreate): Remove cancel_event creation.
(pthread::create_cancel_event): Define new function.
* thread.h (pthread::create_cancel_event): Declare new function.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index ef0e59a..e530a64 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -545,6 +545,7 @@ private: void precreate (pthread_attr *); void postcreate (); void set_tls_self_pointer (); + bool create_cancel_event (); static pthread *get_tls_self_pointer (); void cancel_self (); DWORD get_thread_id (); |