projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use atomic decrement rather than cas in pthread_exit thread count
[musl]
/
src
/
signal
/
siglongjmp.c
diff --git
a/src/signal/siglongjmp.c
b/src/signal/siglongjmp.c
index
e9a6131
..
bbdde79
100644
(file)
--- a/
src/signal/siglongjmp.c
+++ b/
src/signal/siglongjmp.c
@@
-3,9
+3,9
@@
#include <stdlib.h>
#include "syscall.h"
#include <stdlib.h>
#include "syscall.h"
-void siglongjmp(sigjmp_buf buf, int ret)
+
_Noreturn
void siglongjmp(sigjmp_buf buf, int ret)
{
if (buf->__fl) __syscall(SYS_rt_sigprocmask, SIG_SETMASK,
{
if (buf->__fl) __syscall(SYS_rt_sigprocmask, SIG_SETMASK,
- buf->__ss, 0, _
_SYSCALL_SSLEN
);
+ buf->__ss, 0, _
NSIG/8
);
longjmp(buf->__jb, ret);
}
longjmp(buf->__jb, ret);
}