diff options
author | Robert Collins <rbtcollins@hotmail.com> | 2002-06-23 07:36:21 +0000 |
---|---|---|
committer | Robert Collins <rbtcollins@hotmail.com> | 2002-06-23 07:36:21 +0000 |
commit | f6709c07db65f630dd5c992647f513a51d1c5764 (patch) | |
tree | 7fb367d8f7493d1d128c098b35f190588d598b10 /winsup/cygwin/thread.h | |
parent | 0278e3a33faafdb796945dbb196a78d6ed312f37 (diff) | |
download | cygnal-f6709c07db65f630dd5c992647f513a51d1c5764.tar.gz cygnal-f6709c07db65f630dd5c992647f513a51d1c5764.tar.bz2 cygnal-f6709c07db65f630dd5c992647f513a51d1c5764.zip |
2002-06-12 Thomas Pfaff <tpfaff@gmx.net>
* thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to
cleanup_stack.
* thread.cc (pthread::pthread): Ditto.
(pthread::create): Fixed mutex verification.
(pthread::push_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
Mutex calls removed, used InterlockedExchangePointer instead.
(pthread::pop_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
(pthread::pop_all_cleanup_handlers): Ditto.
(__pthread_once): Check state first and return if already done.
(__pthread_join): DEADLOCK test reverted to __pthread_equal
call.
(__pthread_detach): Unlock mutex before deletion.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index ee4dfbb8e..f926a3abd 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -295,7 +295,7 @@ public: private: DWORD thread_id; - __pthread_cleanup_handler *cleanup_handlers; + __pthread_cleanup_handler *cleanup_stack; pthread_mutex mutex; friend void __pthread_exit (void *value_ptr); |