tryAcquire
Tries to acquire a permit from this semaphore without suspension.
Return
true
if a permit was acquired, false
otherwise.
Sources
common source
Link copied to clipboard