Computer Science Fundamentals Operating Systems Subjective
Mar 07, 2013

What is mutex?

Detailed Explanation

Mutex is a program object that allows multiple program threads to share the same resource, such as file access, but not simultaneously. When a program is started a mutex is created woth a unique name. After this stage, any thread that needs the resource must lock the mutex from other threads while it is using the resource. the mutex is set to unlock when the data is no longer needed or the routine is finished.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback