Assertion: semaphore | /r/CapableOf | create semaphore
Facets:
value: with the given number of permits
type: OTHER
value: with the given fairness setting
type: OTHER
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.