* debug.h (console_printf): Define for non-debugging condition.
* cygtls.h (_threadinfo::lock): Remove wait argument. (_threadinfo::interrupt_setup): Remove retaddr argument. * exceptions.cc (_threadinfo::interrupt_setup): Ditto. (_threadinfo::interrupt_now): Accommodate change to interrupt_setup argument. (setup_handler): Ditto. Always lock sig stack prior to determining interrupt method. * gendef (_sigfe): Correct thinko regarding cmpxchg. (_sigbe): Ditto. (_threadinfo::lock): Ditto. (_threadinfo::pop): Eliminate left-over stack unlock. * sigproc.cc (proc_subproc): Chnage debugging output to printed warning.
This commit is contained in:
@ -125,10 +125,10 @@ Static HANDLE wait_sig_inited; // Control synchronization of
|
||||
*/
|
||||
Static HANDLE events[PSIZE + 1]; // All my children's handles++
|
||||
#define hchildren (events + 1) // Where the children handles begin
|
||||
Static char cpchildren[PSIZE * sizeof (pinfo)]; // All my children info
|
||||
Static int nchildren; // Number of active children
|
||||
Static char czombies[(NZOMBIES + 1) * sizeof (pinfo)]; // All my deceased children info
|
||||
Static char cpchildren[PSIZE * sizeof (pinfo)]; // All my children info
|
||||
Static int nzombies; // Number of deceased children
|
||||
Static char czombies[(NZOMBIES + 1) * sizeof (pinfo)]; // All my deceased children info
|
||||
|
||||
#define pchildren ((pinfo *) cpchildren)
|
||||
#define zombies ((pinfo *) czombies)
|
||||
@ -378,7 +378,7 @@ proc_subproc (DWORD what, DWORD val)
|
||||
way to deal with this and could lead to process hangs. */
|
||||
if (nzombies >= NZOMBIES)
|
||||
{
|
||||
sigproc_printf ("zombie table overflow %d", thiszombie);
|
||||
system_printf ("zombie table overflow %d", thiszombie);
|
||||
remove_zombie (thiszombie);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user