is not an explicit java doctor that way?
It says that a call to Thread acquire
will be blocked until a permission is available, and not tryAcquire
that returns false - this means that there are no permissions, but Thread calling this method will not be blocked.
Justice is connected. If there are already pending threads, but you are tryAcquire
through the current thread, it will ignore justice and get this permission. Since you cannot use it, justice is the FIFO queue you are looking for. Literally from the document:
, , , , , (first-in-first-out, FIFO)
, - release
Thread - , , .