create

suspend fun create(permits: Int): StmSemaphore(source)

Creates a new StmSemaphore with the given number of permits.