On Sun, 2003-05-18 at 02:04, Pascal wrote: > Per the java spec, "The load, store, read, and write actions on volatile > variables are atomic, even if the type of the variable is double or > long." Problem is, atomic in Java does not mean thread safe.
Also, note that it doesn't say "the increment action on a volatile variable is atomic." -- Ed Huff _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
