Vala.Concurrent.Mutex.tryLock – Valacore Reference Manual
tryLock
Description:
public
bool
tryLock
()
Attempts to acquire the lock without blocking.
Returns:
true if lock is acquired.