Companion

Factory for StmSemaphore.

Functions

Link copied to clipboard
suspend fun create(permits: Int): StmSemaphore

Creates a new StmSemaphore with the given number of permits.