Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Vug::Semaphore
Inherits
Reference
<
Object
Constants
DEFAULT_ACQUIRE_TIMEOUT = 30.seconds
Constructors
new
(limit :
Int32
)
Source
Instance methods
acquire
(timeout :
Time::Span
=
DEFAULT_ACQUIRE_TIMEOUT
) :
Bool
Source
release
Source