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:
authorChristopher Faylor <me@cgf.cx>2004-03-31 01:27:50 +0400
committerChristopher Faylor <me@cgf.cx>2004-03-31 01:27:50 +0400
commitc83bdbf65e589a40b6f01bcdf586e91391013647 (patch)
tree3db2e2f5760ac75e0f2238b65fb8400a052c9495 /winsup/cygwin/thread.h
parentcacc0d4421219bf48aca9ce3b0e13344c1ed753e (diff)
* thread.h (pthread::init_mainthread): Add parameter forked. Set forked
default to false.. * thread.cc (MTinterface::fixup_after_fork): Call pthread::init_mainthread with forked = true. (pthread::init_mainthread): Add parameter forked. Do not change thread self pointer when forked.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index 02eac1899..ac08cdfde 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -373,7 +373,7 @@ public:
pthread ();
virtual ~pthread ();
- static void init_mainthread ();
+ static void init_mainthread (const bool forked = false);
static bool is_good_object(pthread_t const *);
static void atforkprepare();
static void atforkparent();