Downgrade the lock. The thread / fiber will wake up all readers if there are any.
Synopsis
Declared in <folly/fibers/TimedMutex.h>
void
unlock_and_lock_shared();
Created with MrDocs
Downgrade the lock. The thread / fiber will wake up all readers if there are any.
Declared in <folly/fibers/TimedMutex.h>
void
unlock_and_lock_shared();
Created with MrDocs