mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
* sigproc.cc (proc_terminate): Avoid releasing myself.
This commit is contained in:
parent
6680cb64f1
commit
cf22fb91a1
@ -1,3 +1,7 @@
|
|||||||
|
2012-03-28 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
|
* sigproc.cc (proc_terminate): Avoid releasing myself.
|
||||||
|
|
||||||
2012-03-28 Corinna Vinschen <corinna@vinschen.de>
|
2012-03-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* times.cc (clock_setres): Set minperiod to period.
|
* times.cc (clock_setres): Set minperiod to period.
|
||||||
|
@ -448,7 +448,8 @@ proc_terminate ()
|
|||||||
procs[i]->ppid = 1;
|
procs[i]->ppid = 1;
|
||||||
if (procs[i].wait_thread)
|
if (procs[i].wait_thread)
|
||||||
procs[i].wait_thread->terminate_thread ();
|
procs[i].wait_thread->terminate_thread ();
|
||||||
procs[i].release ();
|
if (procs[i] != myself)
|
||||||
|
procs[i].release ();
|
||||||
}
|
}
|
||||||
nprocs = 0;
|
nprocs = 0;
|
||||||
sync_proc_subproc.release ();
|
sync_proc_subproc.release ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user