Cygwin: signal: implement signalfd
First cut of a signalfd implementation. Still TODO: Non-polling select. This should mostly work as on Linux except for missing support for some members of struct signalfd_siginfo, namely ssi_fd, ssi_band (both SIGIO/SIGPOLL, not fully implemented) and ssi_trapno (HW exception, required HW support). Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -79,6 +79,7 @@ void __stdcall sigalloc ();
|
||||
int kill_pgrp (pid_t, siginfo_t&);
|
||||
void __reg1 exit_thread (DWORD) __attribute__ ((noreturn));
|
||||
void __reg1 setup_signal_exit (int);
|
||||
int sigwait_common (const sigset_t *, siginfo_t *, PLARGE_INTEGER);
|
||||
|
||||
class no_thread_exit_protect
|
||||
{
|
||||
|
Reference in New Issue
Block a user