aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-29 07:05:26 +0000
committerChristopher Faylor <me@cgf.cx>2002-11-29 07:05:26 +0000
commit883bbc647820b396ff6929ae4d3cda329981a093 (patch)
tree9870d78924f4df51a52be1100d9ec93c938417f3 /winsup/cygwin/external.cc
parentc0b813e5003809f9d93e3e1b646cb6c9114fe364 (diff)
downloadnewlib-883bbc647820b396ff6929ae4d3cda329981a093.zip
newlib-883bbc647820b396ff6929ae4d3cda329981a093.tar.gz
newlib-883bbc647820b396ff6929ae4d3cda329981a093.tar.bz2
* 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/external.cc')
-rw-r--r--winsup/cygwin/external.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 85f4032..582bb2a 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -43,7 +43,7 @@ fillout_pinfo (pid_t pid, int winpid)
static unsigned int i;
if (!pids.npids || !nextpid)
{
- pids.init (winpid);
+ pids.set (winpid);
i = 0;
}