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 ManualResetEvent and AutoResetEvent
What is ManualResetEvent and AutoResetEvent ?
✍: Guest
Threads that call one of the wait methods of a synchronization event must wait until another thread signals the event by calling the Set method. There are two synchronization event classes. Threads set the status of ManualResetEvent instances to signaled using the Set method. Threads set the status of ManualResetEvent instances to no signaled using the Reset method or when control returns to a waiting WaitOne call. Instances of the AutoResetEvent class can also be set to signaled using Set, but they automatically return to nonsignaled as soon as a waiting thread is notified that the event became signaled.
2007-10-22, 5351👍, 0💬
Popular Posts:
How to create a thread in a program? You have two ways to do so. First, making your class "extends" ...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...
Can event’s have access modifiers ? Event’s are always public as they are meant to serve every one r...
What does XmlValidatingReader class do? XmlTextReader class does not validate the contents of an XML...
What is the sequence of UML diagrams in project? First let me say some fact about this question, you...