about summary refs log tree commit diff
path: root/htl/pt-internal.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 00:52:50 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 01:03:54 +0000
commite9644c20ce4718ca99953cab0d306b7789303c8e (patch)
tree89e57ee542ffff864375f9631e4301bbea3991ea /htl/pt-internal.h
parent1cec114b17ad2d5b019074e3cd419cb331feac7a (diff)
downloadglibc-e9644c20ce4718ca99953cab0d306b7789303c8e.tar.gz
glibc-e9644c20ce4718ca99953cab0d306b7789303c8e.tar.xz
glibc-e9644c20ce4718ca99953cab0d306b7789303c8e.zip
htl: Make sem_wait/sem_timedwait interruptible
Diffstat (limited to 'htl/pt-internal.h')
-rw-r--r--htl/pt-internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/htl/pt-internal.h b/htl/pt-internal.h
index 8ffe1bd970..918c207c3e 100644
--- a/htl/pt-internal.h
+++ b/htl/pt-internal.h
@@ -270,6 +270,14 @@ extern error_t __pthread_timedblock (struct __pthread *__restrict thread,
 				     const struct timespec *__restrict abstime,
 				     clockid_t clock_id);
 
+/* Block THREAD with interrupts.  */
+extern error_t __pthread_block_intr (struct __pthread *thread);
+
+/* Block THREAD until *ABSTIME is reached, with interrupts.  */
+extern error_t __pthread_timedblock_intr (struct __pthread *__restrict thread,
+					  const struct timespec *__restrict abstime,
+					  clockid_t clock_id);
+
 /* Wakeup THREAD.  */
 extern void __pthread_wakeup (struct __pthread *thread);