diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2003-05-15 19:42:51 +0000 |
---|---|---|
committer | Thomas Pfaff <tpfaff@gmx.net> | 2003-05-15 19:42:51 +0000 |
commit | c8fa3426af407099b0b55b6113f152975794d5fa (patch) | |
tree | f3474c259ee305dcd3a5eff63484e652058a8777 /winsup/cygwin/thread.h | |
parent | ac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1 (diff) | |
download | cygnal-c8fa3426af407099b0b55b6113f152975794d5fa.tar.gz cygnal-c8fa3426af407099b0b55b6113f152975794d5fa.tar.bz2 cygnal-c8fa3426af407099b0b55b6113f152975794d5fa.zip |
* thread.h (pthread::init_mainthread): Remove function parameter.
(MTinterface::Init): Ditto.
* thread.cc (MTinterface::Init): Remove function parameter.
Always initialize reent_key.
(pthread::init_mainthread): Remove function parameter.
(MTinterface::fixup_after_fork): Fix pthread::init_mainthread call.
* dcrt0.cc (dll_crt_0_1) Fix calls to MTinterface::Init and
pthread::init_mainthread.
Call pthread::init_mainthread only when not forked.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index e162b32a0..55d94157b 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -401,7 +401,7 @@ public: pthread (); virtual ~pthread (); - static void init_mainthread (bool); + static void init_mainthread (); static bool is_good_object(pthread_t const *); static void atforkprepare(); static void atforkparent(); @@ -679,7 +679,7 @@ public: pthread_key reent_key; pthread_key thread_self_key; - void Init (int); + void Init (); void fixup_before_fork (void); void fixup_after_fork (void); |