* 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:
@ -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);
|
||||
|
Reference in New Issue
Block a user