Constructs the semaphore with the given number of tokens.
Synopsis
Declared in <folly/fibers/SemaphoreBase.h>
explicit
SemaphoreBase(size_t tokenCount);
Parameters
Name |
Description |
tokenCount |
Initial token capacity of the semaphore. |
Created with MrDocs