diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-03 08:21:55 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-03 08:21:55 +0300 |
commit | d1eb7a4615a95da05f4bbc2e93e167b8afe6f0dc (patch) | |
tree | c8259c647b2b6d0c356f01c8476268c2270dda51 /winsup/cygwin/cygthread.h | |
parent | af9ef8abb2ad0423c20b28c5050a3b6e82d4e90c (diff) |
* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
(cygthread::stub2): New function.
(cygthread::simplestub): Ditto.
(cygthread::simplestub2): New function.
* cygthread.h (cygthread::stub2): Declare new function.
(cygthread::simplestub2): Ditto.
* cygtls.h (_threadinfo::call): Declare new function.
(_threadinfo::call2): Ditto.
* dcrt0.cc (dll_crt0_1): Accommodate new _threadinfo::init which doesn't return
pointer to tls.
(_dll_crt0): Remove obsolete DECLARE_TLS_STORAGE.
(dll_crt0): Ditto.
* exceptions.cc (_threadinfo::call): New function.
(_threadinfo::call2): Ditto.
(_threadinfo::init): Don't return pointer.
* thread.cc (pthread::thread_init_wrapper): Properly establish _threadinfo
environment.
(pthread::thread_init_wrapper2): New function.
* thread.h (pthread::thread_init_wrapper): Remove noreturn attribute
(pthread::thread_init_wrapper2): Declare new function.
* winbase.h: Remove obsolete code.
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r-- | winsup/cygwin/cygthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h index b8566d4c7..a01719b7e 100644 --- a/winsup/cygwin/cygthread.h +++ b/winsup/cygwin/cygthread.h @@ -20,7 +20,9 @@ class cygthread bool is_freerange; static bool exiting; static DWORD WINAPI stub (VOID *); + static void stub2 (void *, void *); static DWORD WINAPI simplestub (VOID *); + static void simplestub2 (void *, void *); void terminate_thread (); public: static DWORD main_thread_id; |