summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index caa22a5a9..c013e0d20 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -668,7 +668,7 @@ sig_send (_pinfo *p, int sig)
If sending to this process, wait for notification that a signal has
completed before returning. */
int __stdcall
-sig_send (_pinfo *p, siginfo_t& si, _threadinfo *tls)
+sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
{
int rc = 1;
bool its_me;
@@ -747,7 +747,7 @@ sig_send (_pinfo *p, siginfo_t& si, _threadinfo *tls)
if (!pack.si.si_uid)
pack.si.si_uid = myself->uid;
pack.pid = myself->pid;
- pack.tls = (_threadinfo *) tls;
+ pack.tls = (_cygtls *) tls;
if (wait_for_completion)
{
pack.wakeup = CreateEvent (&sec_none_nih, FALSE, FALSE, NULL);
@@ -816,7 +816,7 @@ sig_send (_pinfo *p, siginfo_t& si, _threadinfo *tls)
}
if (wait_for_completion && si.si_signo != __SIGFLUSHFAST)
- call_signal_handler_now ();
+ _my_tls.call_signal_handler ();
out:
if (pack.wakeup)