aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/sigproc.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-01-12 05:38:25 +0000
committerChristopher Faylor <me@cgf.cx>2001-01-12 05:38:25 +0000
commitc3d62298ba6caadf2babd191951305ca2e389596 (patch)
treed4e0f386f548655e8efd8271615e15b70161245e /winsup/cygwin/sigproc.h
parente45ab89012ee7415606dcd7c664cd5c4c14e5baf (diff)
downloadnewlib-c3d62298ba6caadf2babd191951305ca2e389596.zip
newlib-c3d62298ba6caadf2babd191951305ca2e389596.tar.gz
newlib-c3d62298ba6caadf2babd191951305ca2e389596.tar.bz2
* debug.h: Add regparm attributes to some functions.
* signal.cc (sigaction): Don't treat SIGCONT specially. * exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal for later use. (sig_handler): Default any stopping signal to SIGSTOP. (call_signal_handler): New function. (sigdelayed0): New function. * sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special behavior. * sigproc.h: Define call_signal_handler. * syscalls.cc (_read): Allow restartable signal behavior.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r--winsup/cygwin/sigproc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 6e471dd..a5b72bc 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -98,6 +98,7 @@ BOOL __stdcall pid_exists (pid_t) __attribute__ ((regparm(1)));
int __stdcall sig_send (_pinfo *, int, DWORD ebp = (DWORD) __builtin_frame_address (0)) __attribute__ ((regparm(3)));
void __stdcall signal_fixup_after_fork ();
void __stdcall signal_fixup_after_exec (bool);
+extern "C" int __stdcall call_signal_handler ();
extern char myself_nowait_dummy[];
extern char myself_nowait_nonmain_dummy[];