Tries to acquire the managed mutex in shared mode without blocking.

Synopsis

Declared in <folly/SharedMutex.h>

bool
try_lock();

Return Value

true if the lock was acquired.

Created with MrDocs