#include <shared_mutex.h>
Public Member Functions | |
void | lock_shared () |
void | unlock_shared () |
bool | try_lock_shared () |
void | lock () |
void | unlock () |
bool | try_lock () |
Light weight Read Write spin lock (based on C++17 standard std::shared_mutex) TODO: Since this mode uses relaxed more if we care about debug performance we can handcraft using the intrinsics here instead of the function overhead that atomics have.