diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-29 07:05:26 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-29 07:05:26 +0000 |
commit | 883bbc647820b396ff6929ae4d3cda329981a093 (patch) | |
tree | 9870d78924f4df51a52be1100d9ec93c938417f3 /winsup/cygwin/dcrt0.cc | |
parent | c0b813e5003809f9d93e3e1b646cb6c9114fe364 (diff) | |
download | cygnal-883bbc647820b396ff6929ae4d3cda329981a093.tar.gz cygnal-883bbc647820b396ff6929ae4d3cda329981a093.tar.bz2 cygnal-883bbc647820b396ff6929ae4d3cda329981a093.zip |
* pinfo.h (winpids::set): Renamed from init.
(winpids::init): New declaration.
(winpids::cs): Ditto.
(winpids::winpids): Use set rather than init.
* external.cc (fillout_pinfo): Ditto.
* dcrt0.cc (dll_crt0_1): Call winpids::init.
* pinfo.cc (winpids::set): Renamed from init. Wrap calls in critical section.
(winpids::init): New function.
(winpids::cs): Define.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 6c6acbd37..d42fbfab9 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -569,6 +569,8 @@ dll_crt0_1 () mainthread.init ("mainthread"); // For use in determining if signals // should be blocked. + winpids::init (); + int envc = 0; char **envp = NULL; |