327 |
|
* |
328 |
|
* @param item the (nonnull) item to exchange |
329 |
|
* @param timed true if the wait is timed |
330 |
< |
* @param ns if timed, the maximum wait time else 0L |
330 |
> |
* @param ns if timed, the maximum wait time, else 0L |
331 |
|
* @return the other thread's item; or null if interrupted; or |
332 |
|
* TIMED_OUT if timed and timed out |
333 |
|
*/ |
419 |
|
* |
420 |
|
* @param item the item to exchange |
421 |
|
* @param timed true if the wait is timed |
422 |
< |
* @param ns if timed, the maximum wait time else 0L |
422 |
> |
* @param ns if timed, the maximum wait time, else 0L |
423 |
|
* @return the other thread's item; or null if either the arena |
424 |
|
* was enabled or the thread was interrupted before completion; or |
425 |
|
* TIMED_OUT if timed and timed out |