-
Committer:
Tarmac
-
Author(s):
Christopher James Halse Rogers
-
Date:
2016-10-14 01:25:14 UTC
-
mfrom:
(3745.3.10 shared-mutex)
-
Revision ID:
tarmac-20161014012514-n1ejv2f7ulzhik7b
Add a POSIX implementation of C++14's SharedMutex concept.
The reason to use this over std::shared_timed_mutex is that POSIX makes a guarantee that read locks are recursive, wheras this is undefined behaviour for std::shared_timed_mutex.
Approved by mir-ci-bot, Cemil Azizoglu, Alan Griffiths, Alexandros Frantzis.