Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Pfaff <tpfaff@gmx.net>2003-05-15 23:42:51 +0400
committerThomas Pfaff <tpfaff@gmx.net>2003-05-15 23:42:51 +0400
commitc8fa3426af407099b0b55b6113f152975794d5fa (patch)
treef3474c259ee305dcd3a5eff63484e652058a8777 /winsup/cygwin/thread.h
parentac5e8cb29c19dcd286d78ad5cfa84dd6bcbf63d1 (diff)
* 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.h4
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);