Windows Programing Question:

Download Job Interview Questions and Answers PDF

Explain How do other threads own the mutex?

Windows Programing Interview Question
Windows Programing Interview Question

Answer:

Threads in other processes can open a handle to an existing named mutex object by specifying its name in a call to theOpenMutex - function. Any thread with a handle to a mutex object can use one of the wait functions to request ownership of the mutex object. If the mutex object is owned by another thread, the wait function blocks the requesting thread until the owning thread releases the mutex object using theReleaseMutex - function.

Download Windows Programing Interview Questions And Answers PDF

Previous QuestionNext Question
Explain What are the main difference between Micro-Controller and Micro- Processor?How to create a Mutex?