The OpenD Programming Language

Writer.tryLock

Attempts to acquire a write lock on the enclosing mutex. If one can be obtained without blocking, the lock is acquired and true is returned. If not, the lock is not acquired and false is returned.

Return Value

Type: bool

true if the lock was acquired and false if not.

Meta