OSDN Git Service

* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
authorcgf <cgf>
Wed, 3 Dec 2003 05:21:54 +0000 (05:21 +0000)
committercgf <cgf>
Wed, 3 Dec 2003 05:21:54 +0000 (05:21 +0000)
commit8b5aee28a2dd4cc31c2fe7fb98433256d2a0662f
tree1122ad87a73aa88ab0307a56fad37ba3bd2364bc
parentfd1014f66f421f8d382c70b49f9960469f2dd9dc
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/cygthread.cc
winsup/cygwin/cygthread.h
winsup/cygwin/cygtls.h
winsup/cygwin/dcrt0.cc
winsup/cygwin/exceptions.cc
winsup/cygwin/thread.cc
winsup/cygwin/thread.h
winsup/cygwin/winbase.h