L
Lloyd Dupont
I wonder wether or not
DateTime t = DateTime.Now;
is an atomic operation ?
I have an instance variable which is a DateTime (a structure !) and many
thread at a time could write its value.
should I put a lock around that ?
I am afraid I will have something with half a given date and an other one
..... (DateTime being potentialy bigger than a register)
DateTime t = DateTime.Now;
is an atomic operation ?
I have an instance variable which is a DateTime (a structure !) and many
thread at a time could write its value.
should I put a lock around that ?
I am afraid I will have something with half a given date and an other one
..... (DateTime being potentialy bigger than a register)