tryLock()
Attempts to acquire a lock.
Declaration
func tryLock() -> BoolReturn Value
Discussion
This method returns immediately after the attempt to acquire a lock.
Attempts to acquire a lock.
func tryLock() -> BoolThis method returns immediately after the attempt to acquire a lock.