projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix debugger tracking of shared libraries on mips with PIE main program
[musl]
/
src
/
thread
/
pthread_setschedprio.c
diff --git
a/src/thread/pthread_setschedprio.c
b/src/thread/pthread_setschedprio.c
index
5bf4a01
..
fc2e13d
100644
(file)
--- a/
src/thread/pthread_setschedprio.c
+++ b/
src/thread/pthread_setschedprio.c
@@
-4,8
+4,11
@@
int pthread_setschedprio(pthread_t t, int prio)
{
int r;
+ sigset_t set;
+ __block_app_sigs(&set);
LOCK(t->killlock);
r = !t->tid ? ESRCH : -__syscall(SYS_sched_setparam, t->tid, &prio);
UNLOCK(t->killlock);
+ __restore_sigs(&set);
return r;
}