* 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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* perthread.h: Header file for cygwin synchronization primitives.
|
||||
|
||||
Copyright 2000 Cygnus Solutions.
|
||||
Copyright 2000, 2001 Red Hat, Inc.
|
||||
|
||||
Written by Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
@@ -96,6 +96,7 @@ struct signal_dispatch
|
||||
void (*func) (int);
|
||||
int sig;
|
||||
int saved_errno;
|
||||
int sa_flags;
|
||||
DWORD oldmask;
|
||||
DWORD newmask;
|
||||
DWORD retaddr;
|
||||
|
Reference in New Issue
Block a user