Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-12 07:15:32 +0300
committerChristopher Faylor <me@cgf.cx>2003-12-12 07:15:32 +0300
commitc76d70d7c04797ab9c24ae134d602b78d201b052 (patch)
tree3f6a9cee5f9f8b91a60445bea53eab83f686bef8 /winsup/cygwin/thread.h
parent97cb9b9de404248a3c117a2f391696732ce6e860 (diff)
* 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index ef0e59ac2..e530a649d 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 ();