acquire
ErrorsCollection

acquire

Synthesised documentation from type/Semaphore

From type/Semaphore

See Original text in context

method acquire()

Acquire access. When other threads have called the method before and the number of permits are used up, the process blocks until threads passed before releases the semaphore.