mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 23:00:22 +00:00
(pthread_sighandler): Add SIGCONTEXT_EXTRA_ARGS to call to signal
handler.
This commit is contained in:
parent
5806e9e7ff
commit
625b5535c8
@ -88,7 +88,7 @@ static void pthread_sighandler(int signo, SIGCONTEXT ctx)
|
||||
in_sighandler = THREAD_GETMEM(self, p_in_sighandler);
|
||||
if (in_sighandler == NULL)
|
||||
THREAD_SETMEM(self, p_in_sighandler, CURRENT_STACK_FRAME);
|
||||
sighandler[signo](signo, ctx);
|
||||
sighandler[signo](signo, SIGCONTEXT_EXTRA_ARGS ctx);
|
||||
if (in_sighandler == NULL)
|
||||
THREAD_SETMEM(self, p_in_sighandler, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user