shared_mutex (shared_timed_mutex): Only use pthread_rwlock_t when the POSIX Timeouts...
authorJonathan Wakely <jwakely@redhat.com>
Fri, 10 Apr 2015 09:00:00 +0000 (10:00 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 10 Apr 2015 09:00:00 +0000 (10:00 +0100)
commitc3d71b62c66f81b95213b88897cdd75f840e2fae
tree2b4255c61c204402149c7901f7418637aba57708
parent43b0e124e455ebabe9df6bb4d9959beb9eb9b633
shared_mutex (shared_timed_mutex): Only use pthread_rwlock_t when the POSIX Timeouts option is supported.

* include/std/shared_mutex (shared_timed_mutex): Only use
pthread_rwlock_t when the POSIX Timeouts option is supported.
* testsuite/30_threads/shared_lock/cons/5.cc: Remove
dg-require-gthreads-timed.
* testsuite/30_threads/shared_lock/cons/6.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/3.cc: Likewise.
* testsuite/30_threads/shared_lock/locking/4.cc: Likewise.

From-SVN: r221971
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/shared_mutex
libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc