adspace


Explain me what are the rules followed by mutexes?

Answer Posted / Roshan Rajnish Beck

Mutexes (mutual exclusion objects) follow these fundamental rules:
1. Ownership: A thread owns a mutex when it acquires it.
2. At most one thread can own a mutex at any given time.
3. When a thread releases a mutex, it becomes available for another thread to acquire.
4. Once a thread acquires a mutex, no other thread can acquire it until the first thread releases it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is your experience with qa engineering?

927


Are you still writing code? Do you love it?

864


Would you call yourself a craftsman (craftsperson) and what does that word mean to you?

930


Tell me about some of your hobby projects that you've written in your off time.

974


What software languages have you used to design, develop, and debug software application interfaces?

944