What is MUTEX?



What is MUTEX? ..

Answer / satchi

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.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Shell Script Interview Questions

How to get the 3rd element/column from each line from a file?

0 Answers  


How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.

5 Answers   Wells Fargo,


What is the use of "shift" command in passing parameters?

1 Answers  


How can I set the default rwx permission to all users on every file which is created in the current shell?

0 Answers  


What is echo in shell?

0 Answers  






What happens on a system call?

0 Answers  


How would you replace the n character in a file with some xyz?

7 Answers  


How do I run a .sh file?

0 Answers  


What does $# stand for?

3 Answers   IBM,


How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"

12 Answers   Cap Gemini,


How to group the commands in shell scripting?

2 Answers   Polaris,


What are the four fundamental components of every file system on linux?

0 Answers  


Categories