Software QA (13)
SQL Server (1)
What are wait handles ?
.NET INTERVIEW QUESTIONS - What are wait handles ?(What is a mutex object ?)
Wait handles sends signals of a thread status from one thread to other thread.
There are three kind of wait modes :-
When a thread wants to release a Wait handle it can call Set method. You can use Mutex (mutually exclusive) objects to avail for the following modes. Mutex objects are synchronization objects that can only be owned by a single thread at a time. Threads request ownership of the mutex object when they require exclusive access to a resource.
Because 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 causes 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 and the next waiting thread gets ownership.
2009-12-22, 5211👍, 0💬
What is the main difference between a Vector and an ArrayList? Java Vector class is internally synch...
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to ...
Describe in detail Basic of SAO architecture of Remoting? For these types of questions interviewer e...
How To Enter Microseconds in SQL Statements? - MySQL FAQs - Introduction to SQL Date and Time Handli...
Give me the example of SRS and FRS SRS :- Software Requirement Specification BRS :- Basic Requiremen...