Cygwin: signals: setcontext: fix setting sigmask
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
181ca73e49
commit
372874364e
@ -1875,7 +1875,7 @@ extern "C" int
|
|||||||
setcontext (const ucontext_t *ucp)
|
setcontext (const ucontext_t *ucp)
|
||||||
{
|
{
|
||||||
PCONTEXT ctx = (PCONTEXT) &ucp->uc_mcontext;
|
PCONTEXT ctx = (PCONTEXT) &ucp->uc_mcontext;
|
||||||
_my_tls.sigmask = ucp->uc_sigmask;
|
set_signal_mask (_my_tls.sigmask, ucp->uc_sigmask);
|
||||||
_my_tls.incyg = true;
|
_my_tls.incyg = true;
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
/* Apparently a call to NtContinue works on 64 bit as well, but using
|
/* Apparently a call to NtContinue works on 64 bit as well, but using
|
||||||
|
Loading…
x
Reference in New Issue
Block a user