Hello everyone,
I have not found any support document about whether the operation of reference variable assignment is atomic or not.
For example, foo1 and foo2 are both reference variable of type Foo. Is foo1 = foo2 atomic? Any support documents?
thanks in advance,
George

Bechir BejaouiRank #144 · 15.9K reputationPosted Jun 3, 2008, 4:24 PM EDT
George GeorgeRank #1,736 · 870 reputationPosted Jun 3, 2008, 5:17 PM EDT
I mean whether or not it is possible to be interrupted by other threads. Any ideas to my original question?
regards,
George
Ryan AlfordRank #1,411 · 1.2K reputationPosted Jun 4, 2008, 5:16 AM EDT
read section 5.5
I would also advise you to keep this document and SEARCH it before asking some of the questions you ask.
and here is another great article that I found with a SIMPLE GOOGLE SEARCH for "c# atomic reference variables"....
http://www.iridescence.no/Posts/The-Atomicity-of-Variable-References.aspx
George GeorgeRank #1,736 · 870 reputationPosted Jun 4, 2008, 9:49 PM EDT
It is great, Ryan!
regards,
George