Wait handles, DOT NET Programming

What are wait handles?

The Wait handles sends signals of a thread status from one thread to another thread. There are 3 kind of wait modes:-

A)WaitOne.

B)WaitAny.

C)WaitAll.

Whenever a thread wants to release a Wait handle it can call Set method. You can use Mutex (mutually exclusive) objects to avail for the given modes. Mutex objects are synchronization objects which can only be owned by a single thread at a time. Threads request ownership of the mutex object when they need exclusive access to a resource. As only one thread can own a mutex object at any time, other threads must wait for ownership of a mutex object before using the resource. The WaitOne method results a calling thread to wait for ownership of a mutex object. If a thread terminates normally while owning a mutex object, the state of the mutex object is set to be signaled & the next waiting thread gets the ownership.

Posted Date: 9/21/2012 7:57:52 AM | Location : United States







Related Discussions:- Wait handles, Assignment Help, Ask Question on Wait handles, Get Answer, Expert's Help, Wait handles Discussions

Write discussion on Wait handles
Your posts are moderated
Related Questions
Google Calendar Project Description: I require to syn my Microsoft exchange calendar with the Google calendar so i will view the all the changes that happen in Microsoft exch

What is the role of the JIT compiler in .NET Framework? The JIT compiler is an significant element of CLR, which loads MSIL on target machines for execution. The MSIL is stored

Mention the name of the directory where it is essential to locate the proxy file to use a Web service. The proxy file must be kept in the /bin directory. This directory is situ

What are major difference between classic ADO and ADO.NET? Following are some major differences among both In ADO we have recordset and in ADO.NET we have dataset. In rec

I need Windows Phone App (WP 8 and above) I am seeking an app developer/designer to develop me a Windows Phone app. This will be an app where users will post questions in the

List the new features added in .NET Framework 4.0. The following are the latest features of .NET Framework 4.0:     Improved Application Compatibility and Deployment Support

1. What are the limitations of file based data storing techniques?

What are events? As compared to the delegates events works with source and listener methodology. So the listeners who are interested in receiving few events they subscribe to t

What are wait handles? The Wait handles sends signals of a thread status from one thread to another thread. There are 3 kind of wait modes:- A)WaitOne. B)WaitAny. C)Wa

current available topics on computer graphics