329 |
|
|
330 |
|
/** |
331 |
|
* Exclusively acquires the lock if it is available within the |
332 |
< |
* given time and the current thread has not been interrupted |
332 |
> |
* given time and the current thread has not been interrupted. |
333 |
|
* |
334 |
|
* @return a stamp that can be used to unlock or convert mode, |
335 |
|
* or zero if the lock is not available |
419 |
|
|
420 |
|
/** |
421 |
|
* Non-exclusively acquires the lock if it is available within the |
422 |
< |
* given time and the current thread has not been interrupted |
422 |
> |
* given time and the current thread has not been interrupted. |
423 |
|
* |
424 |
|
* @return a stamp that can be used to unlock or convert mode, |
425 |
|
* or zero if the lock is not available |