about summary refs log tree commit diff
path: root/linuxthreads/restart.h
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/restart.h')
-rw-r--r--linuxthreads/restart.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/restart.h b/linuxthreads/restart.h
index 702d7d15c6..0a69309c5b 100644
--- a/linuxthreads/restart.h
+++ b/linuxthreads/restart.h
@@ -25,3 +25,9 @@ static inline void suspend(pthread_descr self)
 {
   __pthread_suspend(self); /* see pthread.c */
 }
+
+static inline int timedsuspend(pthread_descr self, 
+		const struct timespec *abstime)
+{
+   return __pthread_timedsuspend(self, abstime); /* see pthread.c */
+}