punjabtechnicaluniversity.blogspot.in
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 nonsignaled 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 automaticall return to nonsignaled as soon as a waiting thread is notified that the event became signaled.
0 comments:
Post a Comment
North India Campus