Try to lock the underlying mutex without blocking.

Synopsis

Declared in <sync.h>

bool
try_lock();

Return Value

true if the lock was acquired.

Created with MrDocs