Mutex vs Locking - What's the difference?
mutex | locking |
(computing, programming) An object in a program that serves as a lock, used to negotiate mutual exclusion among threads.
To apply a mutex to.
* 2002 , "Steve Connet", Re: best way to interrupt a select() call in a (POSIX) thread?'' (on newsgroup ''comp.programming.threads )
The act by which something is locked.
* 1862 , Wilkie Collins, No Name
(computing) Using a lock or a mutex to restrict the access to a part of a code to at most one process.
As nouns the difference between mutex and locking
is that mutex is an object in a program that serves as a lock, used to negotiate mutual exclusion among threads while locking is the act by which something is locked.As verbs the difference between mutex and locking
is that mutex is {{cx|computing|programming|transitive|lang=en}} To apply a mutex to while locking is present participle of lang=en.mutex
English
Noun
(es) (wikipedia mutex)Verb
(en-verb)- Or you can have a single pipe that is mutexed' so each thread can only write to the pipe exclusively. Alternatively, you can have each thread put the finished fd in a globally ' mutexed list.
locking
English
Verb
(head)Noun
(en noun)- On the other hand, it was just as probable that these comings and goings, these lockings and unlockings, might be attributable to the existence of some private responsibility, which had unexpectedly intruded itself into the old man's easy existence...