From cec4879206f2158d19eccdf5395b551da7c22cb3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 9 Feb 2004 04:04:24 +0000 Subject: * 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. --- winsup/cygwin/sigproc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 327382e8c..caa22a5a9 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -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); } -- cgit v1.2.3