method acquire
1 | class Semaphore |
1.1 | (Semaphore) method acquire |
Documentation for method acquire
assembled from the following types:
class Semaphore
From Semaphore
(Semaphore) method acquire
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.