What is the difference between a mutex and a semaphore in Linux?
Answer / Kapil Dubey
A Mutex (MUTEx CHARacteristics: mutual exclusion) is a synchronization object that allows only one thread to access a resource at a time. A Semaphore (SEMAPHORE: used for counting, not just exclusion) can be used to synchronize multiple resources and can be used to manage tasks in a more complex environment.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you check the status of all the services?
What is posix in linux?
What are the kinds of permissions under linux?
Are linux and unix the same thing?
Does nasa use linux?
We saw the mention on the linux bios website about one million devices shipped with linux bios. Could you tell us more about these devices?
Is it possible to reduce the size of a already created partition?
How many viruses are there for linux?
How can you terminate vi session?
What is flag?
What is apt get linux?
What is the major advantage of a hash table?