interlocked
ijas1981
Member Posts: 19 ■□□□□□□□□□
wwhats the point of the interlocked class than the normal increment.
compare interlocked and lock (synchoromisation ) in c# in detailed.
ijas ahamed.
compare interlocked and lock (synchoromisation ) in c# in detailed.
ijas ahamed.
Comments
-
JDMurray Admin Posts: 13,090 AdminThe Interlocked class is a simple thread synchronization mechanism, typically used to prevent re-entrancy problems. It's more convenient to use than a mutex.
http://msdn2.microsoft.com/en-us/library/system.threading.interlocked(VS.80).aspx