[concurrency-interest] a question regarding non-volatile long

Yechiel Feffer yechielf at gigaspaces.com
Mon Aug 27 10:52:38 EDT 2007

If, in multi-core 32 bits system, 2 threads are assigning values to a
long variable concurrently (non volatile long)- is it possible that the
final result will contain an inconsistent result- i.e. the first 32 bits
part of the long variable will contain half of the long assigned by
thread 1 while the second half will contain assignment from thread #2 ? 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070827/ab27fd39/attachment.html 

More information about the Concurrency-interest mailing list