summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/thread.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-09-20 02:43:18 +0000
committerChristopher Faylor <me@cgf.cx>2003-09-20 02:43:18 +0000
commit370b1173b0d8bef55257fa50d393b06910d5cebc (patch)
tree3dfd8ee7652ea2eeb68c41d80ad1663831ff2214 /winsup/cygwin/thread.h
parentbc54734d1586e33c3c5fad736d6054585aba9359 (diff)
downloadcygnal-370b1173b0d8bef55257fa50d393b06910d5cebc.tar.gz
cygnal-370b1173b0d8bef55257fa50d393b06910d5cebc.tar.bz2
cygnal-370b1173b0d8bef55257fa50d393b06910d5cebc.zip
* thread.h (__reent_t::init_clib): Declare new function.
* thread.cc (__reent_t::init_clib): Define new function. (pthread::thread_init_wrapper): Use __reent_t::init_clib to init local clib storage and set std{in,out,err} appropriately.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r--winsup/cygwin/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h
index ea1f13f44..a52c0b771 100644
--- a/winsup/cygwin/thread.h
+++ b/winsup/cygwin/thread.h
@@ -108,6 +108,7 @@ struct __reent_t
{
struct _reent *_clib;
struct _winsup_t *_winsup;
+ void init_clib (_reent&);
};
_winsup_t *_reent_winsup ();