http://109.livejournal.com/ ([identity profile] 109.livejournal.com) wrote in [personal profile] juan_gandhi 2007-04-12 08:56 pm (UTC)

as far as I understand, the problem is in reordering instructions set. that's why we can have non-null value when the constructor is not complete yet.

if what you are saying about cpu registers is true, no multithreaded code would ever work without "volatile" keyword, which is quite hard to believe.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting