aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-07-29 05:07:43 +0000
committerUlrich Drepper <drepper@redhat.com>2006-07-29 05:07:43 +0000
commitd5ba53f90790e2c3e9c95e39db32067d7e25b34e (patch)
treea97a71a37f5535846ce5bf52a263724ca6183b23 /include
parentdf47504c78f82b9c975b2a48a6c8b6dd73a79ce1 (diff)
downloadglibc-d5ba53f90790e2c3e9c95e39db32067d7e25b34e.zip
glibc-d5ba53f90790e2c3e9c95e39db32067d7e25b34e.tar.gz
glibc-d5ba53f90790e2c3e9c95e39db32067d7e25b34e.tar.bz2
* sysdeps/unix/sysv/linux/kernel-features.h: Definecvs/fedora-glibc-20060729T2255
__ASSUME_FUTEX_LOCK_PI. * include/time.h: Declare __nanosleep_nocancel. * include/unistd.h: Declare __pause_nocancel.
Diffstat (limited to 'include')
-rw-r--r--include/time.h2
-rw-r--r--include/unistd.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 2247365..f2a6489 100644
--- a/include/time.h
+++ b/include/time.h
@@ -81,6 +81,8 @@ extern long int __tzname_max (void);
extern int __nanosleep (__const struct timespec *__requested_time,
struct timespec *__remaining);
+extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
+ struct timespec *__remaining);
libc_hidden_proto(__nanosleep)
extern int __getdate_r (__const char *__string, struct tm *__resbufp);
diff --git a/include/unistd.h b/include/unistd.h
index f8f15ed..fb7a044 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -162,5 +162,7 @@ extern __pid_t __libc_fork (void);
/* Suspend the process until a signal arrives.
This always returns -1 and sets `errno' to EINTR. */
extern int __libc_pause (void);
+/* Not cancelable variant. */
+extern int __pause_nocancel (void);
#endif