Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tries to acquire the lock without blocking.
_CRTIMP bool try_lock();
Return Value
If the lock was acquired, the value true; otherwise, the value false.
Requirements
Header: concrt.h
Namespace: Concurrency