In Semaphore§
See primary documentation in context for method try acquire
method try_acquire(--> Bool)
Same as acquire but will not block. Instead it returns True
if access is permitted or False
otherwise.
See primary documentation in context for method try acquire
method try_acquire(--> Bool)
Same as acquire but will not block. Instead it returns True
if access is permitted or False
otherwise.