ossp-pkg/pth/pthread.h.in 1.65 -> 1.66
--- pthread.h.in 2002/11/03 16:31:34 1.65
+++ pthread.h.in 2002/11/09 11:30:15 1.66
@@ -493,6 +493,8 @@
extern pid_t __pthread_fork(void);
extern unsigned int __pthread_sleep(unsigned int);
+extern int __pthread_nanosleep(const struct timespec *, struct timespec *);
+extern int __pthread_usleep(unsigned int);
extern int __pthread_system(const char *);
extern int __pthread_sigwait(const sigset_t *, int *);
extern pid_t __pthread_waitpid(pid_t, int *, int);
@@ -514,6 +516,8 @@
#if _POSIX_THREAD_SYSCALL_SOFT && !defined(_PTHREAD_PRIVATE)
#define fork __pthread_fork
#define sleep __pthread_sleep
+#define nanosleep __pthread_nanosleep
+#define usleep __pthread_usleep
#define system __pthread_system
#define sigwait __pthread_sigwait
#define waitpid __pthread_waitpid
|
|