According to this question: How big is an object reference in .NET? , .Net references are 32bit on x86 and 64bit on x64. When a 64bit reference is written is it done atomically or as 2 separate 32bit writes, as is done with a long?
-
@Steve, I'm confused why you thought it was dupe of the question already linked and summarized in this question. The second question, however, gives a definitive answer, confirmed correct by a user who was then a member of the C# compiler team.– Ben VoigtCommented Nov 1, 2014 at 2:19
-
@BenVoigt The question was originally a 2 parter. The first part was addressed by the duplicate link, so I reworded the question.– ConditionRacerCommented Nov 1, 2014 at 2:21
-
Ok that makes more sense.– Ben VoigtCommented Nov 1, 2014 at 2:21
Add a comment
|