What is MUTEX?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell prompt?

560


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

3605


shell script for reverse the string

918


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

567


What are the different commands available to check the disk usage?

495






Why is shell scripting important?

574


How do you know which shell I am using?

587


Write a script to print the first 10 elements of fibonacci series.

1768


What does sh mean?

616


c program to display the information of given file similar to givan by the unix or linux command ls -l

1697


What does path stand for?

638


How to use arguments in a script?

579


What is eval in shell script?

651


What is difference between bash and shell?

551


How are shells born?

557