include/ftl/shared_mutex.h
0 → 100644
+47
−0
+1
−0
libs/ftl/shared_mutex_test.cpp
0 → 100644
+60
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
std::shared_mutex on Android is missing capabilities necessary for threading annotations. b/135688034 tracks adding them, but is blocked on b/175635923. In the meantime, add a simple wrapper so that we can start using annotations. Only add the methods we currently need. Other methods can be added as needed. Bug: 185536303 Test: ftl_test Change-Id: Ic7c2152bc7e46b31eecdba42fac1126b26aafd60