OSDN Git Service

* thread.h (pthread::init_mainthread): Remove parameter forked.
authorcgf <cgf>
Sat, 10 Apr 2004 00:53:25 +0000 (00:53 +0000)
committercgf <cgf>
Sat, 10 Apr 2004 00:53:25 +0000 (00:53 +0000)
commita361fa4074e7f581a41a6a63ab6ca97eea8314dd
tree3aadf87fa803b508052633e50558b529a8cd6063
parent2a6e6414407b9fbfb76649d8ef5469c4b69f7649
* thread.h (pthread::init_mainthread): Remove parameter forked.
(pthread::set_tls_self_pointer): New static function.
* thread.cc (MTinterface::fixup_after_fork): Change call to
pthread::init_mainthread.
(pthread::init_mainthread): Remove parameter forked.  Simplify thread self
pointer handling.
(pthread::self): Set thread self pointer to null_pthread if thread has not been
initialized.
(pthread::set_tls_self_pointer): New static function.
winsup/cygwin/ChangeLog
winsup/cygwin/thread.cc
winsup/cygwin/thread.h