vibe.d beta banner
get vibe.d
0.7.30

Function 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.

Prototype

void lock(
  ubyte priority = cast(ubyte)0u
);
block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License