Condition.awaitNanos

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Condition.awaitNanos

alarmnummer
I want to thank you for your excellent replies.

I have my answer: with a lock the value 0 is ambiguous so I can`t
carry the information in a int. I could use a Integer (null indicates
a failed lock) or a TimeOutException.

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest
Reply | Threaded
Open this post in threaded view
|

Re: Condition.awaitNanos

Doug Lea
Peter Veentjer wrote:
> I want to thank you for your excellent replies.
>
>

Thanks for the question! It led us to try to clarify the specs for Condition
methods. (Hopefully for Mustang.)

-Doug

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest