Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is use of interlocked class?
What is use of interlocked class?
✍: Guest
Interlocked class provides methods by which you can achieve following functionalities :-
* Increment Values.
* Decrement values.
* Exchange values between variables.
* Compare values from any thread.
in a synchronization mode.
Example :- System.Threading.Interlocked.Increment(IntA)
2009-03-06, 5036👍, 0💬
Popular Posts:
What are the high-level thread states? The high-level thread states are ready, running, waiting, and...
Explain all parts of a deployment diagram? Package: It logically groups element of a UML model. Node...
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-thre...
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, ...
What will be printed as the result of the operation below: main() { int x=10, y=15; x = x++; y = ++y...