Semaphore

class Semaphore(limit: Int)

Functions

Link copied to clipboard
suspend fun acquire()
Link copied to clipboard
suspend fun enter()
Link copied to clipboard
fun leave()
Link copied to clipboard
fun release()

Properties

Link copied to clipboard
val limit: Int