Package-level declarations

Types

Link copied to clipboard
internal interface SuspendableSemaphore

Provides a mechanism for controlling access to shared resources using a set of permits. Behaves similarly to a Semaphore, but if no permits are available, the caller suspends until that request can be granted. Supports both counting and binary semaphores.