RE: JavaMemoryModel: Proposals on wait and interrupts

From: David Holmes (
Date: Tue May 27 2003 - 06:43:14 EDT

Miles Sabin wrote:
> The conclusion I came to later was that interruption was
> inadequate for reliable handling of cancellation because a thread's
> interrupt status can be modified unpredictably, eg. _any_ holder of
> reference to the thread running the cancellable activity can set or
> the thread's interrupt status

Nitpick. That's not quite true. Anyone with a reference and the right
permission can set the interrupt state, but only the thread can clear
its own interrupt state. This latter fact is important for adding
sanity to the interruption process otherwise it would be completely

David Holmes

JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:45 EDT