* 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.
This commit is contained in:
Christopher Faylor
2012-12-07 17:37:33 +00:00
parent 9873ac53d7
commit 0d1a50b81a
4 changed files with 24 additions and 10 deletions

View File

@ -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);