[concurrency-interest] InterruptedException-free wrappers for calls that "will never be interrupted"
dl at cs.oswego.edu
Sat Apr 10 07:35:25 EDT 2010
On 04/09/10 15:42, Boehm, Hans wrote:
>> From: Doug Lea It has always been odd that built-in locks cannot throw IE
>> yet built-in waits must throw IE.
> I'm not sure I quite understand this comment.
> This still strikes me as reasonable behavior in the large majority of cases,
> though you can clearly find occasional cases for which it's inappropriate.
I agree. The problem (prior to ReentrantLock) was that these occasional
cases could not be expressed at all.
More information about the Concurrency-interest