diff options
author | Christopher Faylor <me@cgf.cx> | 2000-04-08 04:13:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-04-08 04:13:12 +0000 |
commit | 0cda2f4609291ee1394935aca76eb740a67a5473 (patch) | |
tree | c125c12b3f48841ecf7af6298c5df5aa45dfa20c /winsup/cygwin/sigproc.h | |
parent | 65c0e6e68c617463b1d52463f624a6bcee6e383f (diff) | |
download | newlib-0cda2f4609291ee1394935aca76eb740a67a5473.zip newlib-0cda2f4609291ee1394935aca76eb740a67a5473.tar.gz newlib-0cda2f4609291ee1394935aca76eb740a67a5473.tar.bz2 |
* exceptions.cc (sigsave): Copy on fork so that we can restore correct behavior
in forked process.
(interruptible): Flag as interruptible when running in main process module.
(interrupt_setup): Save return address and address of return address.
(signal_fixup_after_fork): New function. Uses above two values to restore
proper behavior to forked process.
(interrupt_on_return): Pass return address address to interupt_setup.
(interrupt_now): Pass NULL for return address address to interrupt_setup.
* fork.cc (fork): Call signal_fixup_after_fork.
* shared.h: Lint cleanups.
* winsup.h: Ditto.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 342e3f5..0ef9e74 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -49,6 +49,7 @@ void __stdcall sigproc_terminate (); BOOL __stdcall proc_exists (pinfo *); int __stdcall proc_subproc (DWORD, DWORD); int __stdcall sig_send (pinfo *, int, DWORD ebp = 0); +void __stdcall signal_fixup_after_fork (); extern char myself_nowait_dummy[]; extern char myself_nowait_nonmain_dummy[]; |