Vala.Concurrent.Semaphore.tryAcquire – Valacore Reference Manual
tryAcquire
Description:
public
bool
tryAcquire
()
Tries to acquire permit without blocking.
Returns:
true if acquired.