mutex (mutual exclusion object)
In computer programming, a mutex (mutual exclusion object) is a program object that is created
so that multiple program thread
can take turns sharing the same resource, such as access to a file. Typically, when a program is
started, it creates a mutex for a given resource at the beginning by requesting it from the system
and the system returns a unique name or ID for it. After that, any thread needing the resource must
use the mutex to lock the resource from other threads while it is using the resource. If the mutex
is already locked, a thread needing the resource is typically queued by the system and then given
control when the mutex becomes unlocked (when once more, the mutex is locked during the new
thread's use of the resource).
Contributor(s): Peter Van Egmond
This was last updated in April 2005
Email Alerts
Register now to receive SearchNetworking.com-related news, tips and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy
More News and Tutorials
-
This E-Guide takes a look at the communications and security standards every IT administrator should be aware of.
-
Cisco announces longtime M&A chief Ned Hooper is leaving. CTO Padmasree Warrior takes over and Pankaj Patel assumes sole leadership of engineering.
-
Get the inside scoop on a network manager's job description, workload, and responsibilities.
-
Articles
-
Resources from around the Web