method

try_lock

v1_9_2_180 - Show latest stable - Class: Mutex
try_lock()
public

Attempts to obtain the lock and returns immediately. Returns true if the lock was granted.