* sigproc.h (sig_send): Accept tid as argument #3. Default to NULL.

* sigproc.cc (sig_send): Ditto.  Pass tid to other sig_send.
(sigpending): Send current thread as arg #3.
This commit is contained in:
Christopher Faylor
2012-12-10 22:13:26 +00:00
parent 90943f078f
commit 8cabc308a2
3 changed files with 10 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ void __stdcall sigproc_terminate (enum exit_states);
#endif
bool __stdcall pid_exists (pid_t) __attribute__ ((regparm(1)));
int __stdcall sig_send (_pinfo *, siginfo_t&, class _cygtls * = NULL) __attribute__ ((regparm (3)));
int __stdcall sig_send (_pinfo *, int) __attribute__ ((regparm (2)));
int __stdcall sig_send (_pinfo *, int, class _cygtls * = NULL) __attribute__ ((regparm (3)));
void __stdcall signal_fixup_after_exec ();
void __stdcall sigalloc ();