method

try_lock

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

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