Options
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
-
OptionsJDMurray Admin Posts: 13,031 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
Forum Admin at www.techexams.net
--
LinkedIn: www.linkedin.com/in/jamesdmurray
Twitter: www.twitter.com/jdmurray