[patch libstdc++] Add POSIX variant of shared_timed_mutex.
Torvald Riegel
triegel@redhat.com
Fri Jan 16 13:20:00 GMT 2015
[Resend. Sorry for the noise on gcc@.]
This adds a POSIX-based implementation of shared_timed_mutex, using
pthread_rwlock_* operations directly instead of implementing with
mutexes and two condvars. This enables using an optimized
pthread_rwlock_t on POSIX.
Tested on x86_64-linux.
OK?
2015-01-16 Torvald Riegel <triegel@redhat.com>
* include/std/shared_mutex (shared_timed_mutex): Add POSIX-based
implementation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shared_timed_mutex.patch
Type: text/x-patch
Size: 6484 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150116/b9f4184b/attachment.bin>
More information about the Gcc-patches
mailing list