Semaphore.this

Initializes a semaphore object with the specified initial count.

class Semaphore
this
(
uint count = 0
)

Parameters

count uint

The initial count for the semaphore.

Throws

SyncError on error.

Meta