punjabtechnicaluniversity.blogspot.in
Interlocked class provides methods by which you can achieve following functionalities :-
1. Increment Values.
2. Decrement values.
3. Exchange values between variables.
4. Compare values from any thread
in a synchronization mode.
Example :- System.Threading.Interlocked.Increment(IntA)
Interlocked class provides methods by which you can achieve following functionalities :-
1. Increment Values.
2. Decrement values.
3. Exchange values between variables.
4. Compare values from any thread
in a synchronization mode.
Example :- System.Threading.Interlocked.Increment(IntA)
0 comments:
Post a Comment
North India Campus