projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c516807
)
normal exit from timer thread should run dtors, restore cancel state
author
Rich Felker
<dalias@aerifal.cx>
Fri, 12 Aug 2011 02:34:09 +0000
(22:34 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 12 Aug 2011 02:34:09 +0000
(22:34 -0400)
src/time/timer_create.c
patch
|
blob
|
history
diff --git
a/src/time/timer_create.c
b/src/time/timer_create.c
index 593f73aa5f4a88a12a16c2516f72b26e44645559..f596b0fe5f430b593193ce132a613b1eca0f8f98 100644
(file)
--- a/
src/time/timer_create.c
+++ b/
src/time/timer_create.c
@@
-40,7
+40,7
@@
static void timer_handler(int sig, siginfo_t *si, void *ctx)
if (!setjmp(jb) && si->si_code == SI_TIMER) {
pthread_cleanup_push(cleanup_fromsig, jb);
notify(val);
- pthread_cleanup_pop(
0
);
+ pthread_cleanup_pop(
1
);
}
}