--%>

Define the way to threads own the mutex

Define the way to threads own the mutex?

E

Expert

Verified

Threads in another process can open a handle to an existing named mutex object through specifying its name within a call to the OpenMutex - function. Any type of thread with a handle to a mutex object can utilize one of the wait functions to request ownership of the mutex object. When the mutex object is owned by other thread, the wait function blocks the requesting thread till the owning thread releases the mutex object by using the ReleaseMutex - function.

   Related Questions in Programming Languages

  • Q : Edit things in Moodle Normal 0 false

    Normal 0 false false

  • Q : Define Livelock Livelock : It is a

    Livelock: It is a situation in which a thread waits to be notified of a condition however, on waking, finds that the other thread has inverted the condition another time. The primary thread is forced to wait again. Whenever this occurs for an indefini

  • Q : Explain the major elements of the ADO

    Explain the major elements of the ADO object model and it’s used?

  • Q : Define the term createWindow object

    Define the term createWindow object? Answer: reateWindow() physically makes the Window in memory  based upon the earlier registered WND

  • Q : Role of ScriptManagerProxy control?

    Explain the role of ScriptManagerProxy control?

  • Q : Difference between collection and arrays

    Write the difference between collection and arrays?

  • Q : Risks associated while porting a c pre

    Q. 1 Explain number of issues which are faced while porting a c pre processor in java. These issues always have the probability that the code will show errors while trying to execute the code in java.  Q.2 : Software Requirement Specification or Requirements for the studen

  • Q : What is Carriage return Carriage return

    Carriage return: The \r character. It is also used as a synonym for the `Return' or `Enter' key employed to terminate a line of text and the name derives from the carriage on mechanical typewriter.

  • Q : Which kernel objects is utilize for

    Which kernel objects is utilize for thread Synchronization on various processes? Answer: For thread synchronization on various processes kernel objects are utilize

  • Q : Explain Try statement Try statement :

    Try statement: The try statement performs as an exception handler - a position where exception objects are caught and dealt with. In its most common form, it comprises of a try clause, one or more catch clauses and the finally clause.