summaryrefslogtreecommitdiff
path: root/src/internal/pthread_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-14 12:51:00 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-14 12:51:00 -0400
commit016a5dc1925a66c7d1ffc14b862b1342f399cfda (patch)
tree3cc1d5e0d087272723a867f8185e49f1f988c721 /src/internal/pthread_impl.h
parent9beb6330c08839e8bb2ebcd129c97c395d9d327e (diff)
downloadmusl-016a5dc1925a66c7d1ffc14b862b1342f399cfda.tar.gz
musl-016a5dc1925a66c7d1ffc14b862b1342f399cfda.tar.bz2
musl-016a5dc1925a66c7d1ffc14b862b1342f399cfda.tar.xz
musl-016a5dc1925a66c7d1ffc14b862b1342f399cfda.zip
use a separate signal from SIGCANCEL for SIGEV_THREAD timers
otherwise we cannot support an application's desire to use asynchronous cancellation within the callback function. this change also slightly debloats pthread_create.c.
Diffstat (limited to 'src/internal/pthread_impl.h')
-rw-r--r--src/internal/pthread_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h
index 3e436aef..a6d90e9b 100644
--- a/src/internal/pthread_impl.h
+++ b/src/internal/pthread_impl.h
@@ -76,6 +76,7 @@ struct __timer {
#define SIGCANCEL 32
#define SIGSYSCALL 33
+#define SIGTIMER 34
int __set_thread_area(void *);
int __libc_sigaction(int, const struct sigaction *, struct sigaction *);