tryLock


Description:

public bool tryLock ()

Attempts to acquire the lock without blocking.

Returns:

true if lock is acquired.