LocalTaskSemaphore.lock

Acquires a lock.

Once the limit of concurrent locks is reached, this method will block until the number of locks drops below the limit.

class LocalTaskSemaphore
@safe
void
lock
(
ubyte priority = 0
)

Meta