Assertion: public semaphore | /r/HasProperty | int permits
Facets:
Source sentences:
text: Semaphore Added in API level 1 public Semaphore (int permits) Creates a Semaphore with the given number of permits and nonfair fairness setting.
text: Semaphore Added in API level 1 public Semaphore (int permits, boolean fair) Creates a Semaphore with the given number of permits and the given fairness setting.