summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-03-07 04:57:47 +0000
committerChristopher Faylor <me@cgf.cx>2004-03-07 04:57:47 +0000
commit3a1ccfc8c7e618eec1eb280a213282f1134eb2fb (patch)
treef394d22b8233c39ccb86f98b168cff560f9a7173 /winsup/cygwin/sigproc.cc
parent2942097ac20fab2d8237e9f7004cd2153b6ac0af (diff)
downloadcygnal-3a1ccfc8c7e618eec1eb280a213282f1134eb2fb.tar.gz
cygnal-3a1ccfc8c7e618eec1eb280a213282f1134eb2fb.tar.bz2
cygnal-3a1ccfc8c7e618eec1eb280a213282f1134eb2fb.zip
* fork.cc (fork_parent): Save parent pid in a temporary variable since child
could conceivably exit before function returns, rendering the child's shared memory area invalid. * cygtls.h (_cygtls::incyg): Declare new field. (_cygtls::in_exception): Define new function. * exceptions.cc (setup_handler): Remove locked flag. Use 'incyg' flag and in_exception function to determine when we're in a cygwin function. (_cygtls::call_signal_handler): Decrement incyg flag prior to calling a handler. Increment it on return. * gendef (_sigfe): Increment incyg flag. Use testl for zero testing rather than orl, for consistency. (_sigbe): Decrement incyg flag. Use testl for zero testing rather than orl, for consistency. (_cygtls::pop): Use testl for zero testing rather than orl, for consistency. (stabilize_sig_stack): Ditto.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
0 files changed, 0 insertions, 0 deletions