Forums Assignment Help What is Mutex Object?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1017
    Aakanksha
    Participant

    What is Mutex Object?

    #9581
    ahwriter
    Participant

    A mutex object is a synchronization object whose state is set to signaled when it is not owned by any thread, and non-signaled when it is owned. For example, to prevent two threads from writing to shared memory at the same time, each thread waits for ownership of a mutex object before executing the code that accesses the memory. After writing to the shared memory, the thread releases the mutex object.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.