diff options
author | Robert Collins <rbtcollins@hotmail.com> | 2002-11-24 13:54:14 +0000 |
---|---|---|
committer | Robert Collins <rbtcollins@hotmail.com> | 2002-11-24 13:54:14 +0000 |
commit | f8c8e13b7e16dba8c04adc6912a0610292488656 (patch) | |
tree | d4595038845d61fb3fe6c3d54b255068ca38a90c /winsup/cygwin/ChangeLog | |
parent | 4f0de34d3747d689cc741f045072486b0c602f15 (diff) | |
download | cygnal-f8c8e13b7e16dba8c04adc6912a0610292488656.tar.gz cygnal-f8c8e13b7e16dba8c04adc6912a0610292488656.tar.bz2 cygnal-f8c8e13b7e16dba8c04adc6912a0610292488656.zip |
2002-11-05 Thomas Pfaff <tpfaff@gmx.net>
* dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to
initialize mainthread when it is safe to call new.
* init.cc (dll_entry): Change call to store reents in tls key.
* thread.cc (_reent_clib) : Change call to get reents from tls
key.
(_reent_winsup): Ditto.
(MTinterface::Init): Key handling changed. Remove initialization
of member variables.
(MTinterface::fixup_after_fork): Reinitialize mainthread object
after fork. Reset threadount to 1.
(pthread::initMainThread): Create mainthread object dynamically.
and initialize with valid handles.
(pthread::self): Remove calls to create thread objects.
(pthread::setTlsSelfPointer): Change call to store thread self
handle in tls key.
(pthread::getTlsSelfPointer): New static method.
(pthread::exit): Remove setTlsSelfPointer call.
(pthread::initCurrentThread): New method.
(pthread::thread_init_wrapper): Change call to store thread self
handle in tls key.
(pthread::join): Check for a valid joiner.
(pthreadNull::pthreadNull): Mark Null object as detached.
(pthreadNull::exit): Terminate thread via ExitThread.
* thread.h (pthread::initMainThread): Change parameter in function
call.
(pthread::getTlsSelfPointer): New static method.
(pthread::initCurrentThread): New method.
(MTinterface::reent_key): Remove.
(MTinterface::thread_self_dwTlsIndex): Ditto..
(MTinterface::indexallocated): Ditto.
(MTinterface::mainthread): Ditto.
(MTinterface::reent_key): New member.
(MTinterface::thread_self_key): Ditto.
(MTinterface::MTinterface): Initialize all members.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index df099b0a8..a6eeef1da 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,40 @@ +2002-11-05 Thomas Pfaff <tpfaff@gmx.net> + + * dcrt0.cc (dll_crt0_1): Add call to pthread::initMainThread to + initialize mainthread when it is safe to call new. + * init.cc (dll_entry): Change call to store reents in tls key. + * thread.cc (_reent_clib) : Change call to get reents from tls + key. + (_reent_winsup): Ditto. + (MTinterface::Init): Key handling changed. Remove initialization + of member variables. + (MTinterface::fixup_after_fork): Reinitialize mainthread object + after fork. Reset threadount to 1. + (pthread::initMainThread): Create mainthread object dynamically. + and initialize with valid handles. + (pthread::self): Remove calls to create thread objects. + (pthread::setTlsSelfPointer): Change call to store thread self + handle in tls key. + (pthread::getTlsSelfPointer): New static method. + (pthread::exit): Remove setTlsSelfPointer call. + (pthread::initCurrentThread): New method. + (pthread::thread_init_wrapper): Change call to store thread self + handle in tls key. + (pthread::join): Check for a valid joiner. + (pthreadNull::pthreadNull): Mark Null object as detached. + (pthreadNull::exit): Terminate thread via ExitThread. + * thread.h (pthread::initMainThread): Change parameter in function + call. + (pthread::getTlsSelfPointer): New static method. + (pthread::initCurrentThread): New method. + (MTinterface::reent_key): Remove. + (MTinterface::thread_self_dwTlsIndex): Ditto.. + (MTinterface::indexallocated): Ditto. + (MTinterface::mainthread): Ditto. + (MTinterface::reent_key): New member. + (MTinterface::thread_self_key): Ditto. + (MTinterface::MTinterface): Initialize all members. + 2002-11-23 Christopher Faylor <cgf@redhat.com> * wait.cc (wait4): Force pending signal delivery before waiting for |