summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-03-09 01:24:08 +0000
committerChristopher Faylor <me@cgf.cx>2004-03-09 01:24:08 +0000
commit5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91 (patch)
treec57bdf1735ddd76ac2dbb6a72c92ecaef9dd4d78 /winsup/cygwin/sigproc.cc
parent0c378b648ef9a141ade2bdffb4dfa5ea43fd03d4 (diff)
downloadcygnal-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.tar.gz
cygnal-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.tar.bz2
cygnal-5fb0fe79eb76f59ac5d88e15c38b6e7bc63f9c91.zip
* exceptions.cc (setup_handler): Avoid suspending a thread if it in a cygwin
function, in an exception, spinning, or locked. * gendef (_sigfe): Move incyg setting earlier. (sigreturn): Set incyg flag to avoid interrupting called cygwin functions. (sigdelayed): Ditto. (stabilize_sig_stack): Ditto. * sigproc.cc (proc_subproc): Don't restore process lock early in exec case. * cygtls.h: Reorganize fields in _cygtls slightly. * tlsoffsets.h: Regenerate.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index f3f04decc..8f6b8c1ff 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -344,7 +344,6 @@ proc_subproc (DWORD what, DWORD val)
pchildren[val]->pid, val, hchildren[val], pchildren[val]->hProcess);
HANDLE h = hchildren[val];
hchildren[val] = pchildren[val]->hProcess; /* Filled out by child */
- sync_proc_subproc->release (); // Release the lock ASAP
ForceCloseHandle1 (h, childhProc);
ProtectHandle1 (pchildren[val]->hProcess, childhProc);
rc = 0;