+Tue Mar 7 13:31:10 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since
+ it didn't seem to affect the "bash hangs" problem.
+
+Tue Mar 7 13:17:56 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * mcount.c: Remove strace.h include.
+
Tue Mar 7 00:29:34 2000 Christopher Faylor <cgf@cygnus.com>
Throughout use strace class in place of individual functions and
Static waitq waitq_main; // Storage for main thread
muto NO_COPY *sync_proc_subproc = NULL; // Control access to subproc stuff
-muto NO_COPY *sync_sig_send = NULL; // Control access to sig_send
DWORD NO_COPY maintid = 0; // ID of the main thread
DWORD NO_COPY sigtid = 0; // ID of the signal thread
* access to the children and zombie arrays.
*/
sync_proc_subproc = new_muto (FALSE, NULL);
- sync_sig_send = new_muto (FALSE, NULL);
/* Initialize waitq structure for main thread. A waitq structure is
* allocated for each thread that executes a wait to allow multiple threads
sd = signal_dispatch_storage.create ();
#endif
- sync_sig_send->acquire ();
/* Increment the sigtodo array to signify which signal to assert.
*/
(void) InterlockedIncrement (p->getsigtodo(sig));
{
rc = WAIT_OBJECT_0;
sip_printf ("Not waiting for sigcomplete. its_me %d sig %d", its_me, sig);
- sync_sig_send->release ();
if (!its_me)
ForceCloseHandle (thiscatch);
}
sip_printf ("Waiting for thiscomplete %p", thiscomplete);
SetLastError (0);
- sync_sig_send->release ();
Sleep (0);
rc = WaitForSingleObject (thiscomplete, WSSC);
/* Check for strangeness due to this thread being redirected by the