* 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.
This commit is contained in:
Christopher Faylor
2002-11-29 07:05:26 +00:00
parent c0b813e500
commit 883bbc6478
6 changed files with 32 additions and 5 deletions

View File

@@ -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;
}