summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-09-06 00:07:52 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-09-06 00:07:52 +0000
commit521fd6195a00e72208369f5622ff85e2d1cf0d88 (patch)
tree73b871e47699807928698f9459249ea662fc20db /include
parent546fd338df0b9b22bd11afd07c5e3e8735c09ab6 (diff)
downloadFreeBSD-src-521fd6195a00e72208369f5622ff85e2d1cf0d88.zip
FreeBSD-src-521fd6195a00e72208369f5622ff85e2d1cf0d88.tar.gz
Add small piece of code to support pthread_rwlock_timedrdlock and
pthread_rwlock_timedrwlock.
Diffstat (limited to 'include')
-rw-r--r--include/pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 9da2412..417e78f 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -258,6 +258,10 @@ int pthread_rwlock_destroy(pthread_rwlock_t *);
int pthread_rwlock_init(pthread_rwlock_t *,
const pthread_rwlockattr_t *);
int pthread_rwlock_rdlock(pthread_rwlock_t *);
+int pthread_rwlock_timedrdlock(pthread_rwlock_t *,
+ const struct timespec *);
+int pthread_rwlock_timedrwlock(pthread_rwlock_t *,
+ const struct timespec *);
int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
int pthread_rwlock_trywrlock(pthread_rwlock_t *);
int pthread_rwlock_unlock(pthread_rwlock_t *);
OpenPOWER on IntegriCloud