82 |
|
* When used in this way, the binary semaphore has the property (unlike many |
83 |
|
* {@link Lock} implementations, that the "lock" can be released by |
84 |
|
* a thread other than the owner (as semaphores have no notion of ownership). |
85 |
< |
* This can be useful in some specialised contexts, such as deadlock recovery. |
85 |
> |
* This can be useful in some specialized contexts, such as deadlock recovery. |
86 |
|
* |
87 |
|
* <p>This class makes no guarantees about the order in which threads |
88 |
|
* acquire permits. In particular, barging is permitted, that is, a thread |