[Reposted msg from Hans]
Perhaps another way to think of it is that the "isInterrupted" flag is
used to communicate between threads. As such, we'd tell a programmer
that
it should be made volatile. Thus it would be counterintuitive if the
library didn't follow the same rules.
Hans
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:01:00 EDT