vibe.d beta banner
get vibe.d
0.7.30

Function LocalTaskSemaphore.lock

Acquires a lock.

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

Prototype

void lock(
  ubyte priority = cast(ubyte)0u
);
Authors

Leonid Kramer, Sönke Ludwig, Manuel Frischknecht

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.