aboutsummaryrefslogtreecommitdiff
path: root/htl/pt-internal.h
diff options
context:
space:
mode:
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 8ffe1bd..918c207 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);