shared_mutex (__shared_mutex_pthread, [...]): New helper types implementing the share...
authorJonathan Wakely <jwakely@redhat.com>
Fri, 5 Jun 2015 16:31:05 +0000 (17:31 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 5 Jun 2015 16:31:05 +0000 (17:31 +0100)
commit712266515f4ba06d8a2d90584984f461a37b5d68
tree4db90c305b0169cfa766539cc422e6084c4acf8d
parente918809cd0ef1567551c8893afda6268c598d42d
shared_mutex (__shared_mutex_pthread, [...]): New helper types implementing the shared mutex requirements.

* include/std/shared_mutex (__shared_mutex_pthread,
__shared_mutex_cv): New helper types implementing the shared mutex
requirements.
(shared_mutex): New type for C++17.
(shared_timed_mutex): Derive from one of the new helper types.
* testsuite/30_threads/shared_mutex/cons/1.cc: New.
* testsuite/30_threads/shared_mutex/cons/assign_neg.cc: New.
* testsuite/30_threads/shared_mutex/cons/copy_neg.cc: New.
* testsuite/30_threads/shared_mutex/requirements/standard_layout.cc:
New.
* testsuite/30_threads/shared_mutex/try_lock/1.cc: New.
* testsuite/30_threads/shared_mutex/try_lock/2.cc: New.

From-SVN: r224158
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/shared_mutex
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc [new file with mode: 0644]