How mutex is implemented in linux?



How mutex is implemented in linux?..

Answer / Subhash Chandra Gupta

In Linux, a Mutex (MUTual EXclusion) is implemented using kernel-level data structures. It uses spinlocks for fast lock acquisition when the CPU is idle or context switching isn't necessary.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

Which linux is best for home use?

1 Answers  


Which type of os is linux?

1 Answers  


What is typical size for a swap partition under a linux system?

1 Answers  


How many types of bond are there in linux?

1 Answers  


What is the use of dollar sign in linux?

1 Answers  


What is the maximum length for any file name under linux?

1 Answers  


What are symbolic links?

1 Answers  


What utility would you use to replace a string ‘2001’ for ‘2002’ in a text file?

1 Answers  


Why we use red hat linux?

1 Answers  


Why is linux faster than windows?

1 Answers  


What are the essential features of the linux operating system?

1 Answers  


How to jump to a particular line in a file using vim editor?

1 Answers  


Categories