summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-12-07 17:37:33 +0000
committerChristopher Faylor <me@cgf.cx>2012-12-07 17:37:33 +0000
commit0d1a50b81ab8e79642bfd17b019f3eb0a17073c6 (patch)
treebd39ad2b3599a22b1c09d220f1445fca187c30ef /winsup/cygwin/exceptions.cc
parent9873ac53d7a52f96784a98098d78b71677e6599c (diff)
downloadcygnal-0d1a50b81ab8e79642bfd17b019f3eb0a17073c6.tar.gz
cygnal-0d1a50b81ab8e79642bfd17b019f3eb0a17073c6.tar.bz2
cygnal-0d1a50b81ab8e79642bfd17b019f3eb0a17073c6.zip
* sigproc.h (sigpacket): Remove parameter names from declarations.
(sigpacket::sigtls): Rename from 'tls'. * exceptions.cc (sigpacket::process): Define local tls variable and assign that to sigtls if appropriate. Clarify debugging output. * sigproc.cc (sig_send): Accommodate tls -> sigtls rename. (pending_signals::add): Ditto. (wait_sig): Ditto.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index c04e35af7..a28b90af5 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1123,6 +1123,7 @@ sigpacket::process ()
{
bool continue_now;
struct sigaction dummy = global_sigs[SIGSTOP];
+ _cygtls *tls;
if (si.si_signo != SIGCONT)
continue_now = false;
@@ -1168,8 +1169,11 @@ sigpacket::process ()
if (have_execed)
handler = NULL;
- if (tls)
- sigproc_printf ("using tls %p", tls);
+ if (sigtls)
+ {
+ tls = sigtls;
+ sigproc_printf ("using sigtls %p", tls);
+ }
else
{
tls = cygheap->find_tls (si.si_signo);