summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2018-01-21 23:51:51 -0600
committerCorinna Vinschen <corinna@vinschen.de>2018-01-22 15:04:11 +0100
commit8810f929fc05e1794e06c80b2313728998de4ea5 (patch)
treee9863aed46c002cc07e7373742a15eaef6841218
parent00bf01789e3f1e794b3424dab683c569cab72f17 (diff)
downloadcygnal-8810f929fc05e1794e06c80b2313728998de4ea5.tar.gz
cygnal-8810f929fc05e1794e06c80b2313728998de4ea5.tar.bz2
cygnal-8810f929fc05e1794e06c80b2313728998de4ea5.zip
cygwin: Declare pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock
These were added in commit 8128f5482f2b1889e2336488e9d45a33c9972d11 but without their public declarations. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r--winsup/cygwin/include/pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index 6d3bfd0eb..3dfc2bc80 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -191,8 +191,12 @@ int pthread_spin_unlock (pthread_spinlock_t *);
int pthread_rwlock_destroy (pthread_rwlock_t *rwlock);
int pthread_rwlock_init (pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr);
int pthread_rwlock_rdlock (pthread_rwlock_t *rwlock);
+int pthread_rwlock_timedrdlock (pthread_rwlock_t *rwlock,
+ const struct timespec *abstime);
int pthread_rwlock_tryrdlock (pthread_rwlock_t *rwlock);
int pthread_rwlock_wrlock (pthread_rwlock_t *rwlock);
+int pthread_rwlock_timedwrlock (pthread_rwlock_t *rwlock,
+ const struct timespec *abstime);
int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock);
int pthread_rwlock_unlock (pthread_rwlock_t *rwlock);
int pthread_rwlockattr_init (pthread_rwlockattr_t *rwlockattr);