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

What is echo $shell?

0 Answers  


RAM one table colums a1,a2,a3,a4 respective values 2,4,7,8 KRISH one table colums a1,a2,a3,a4 respective values 3,4,6,9 IN RAM & KRISH a4 column if comparing values RAM A4 - KRISH A4 ( 8-9 =1 THEN print 5 or (RAM) a4 value 10 KRISH a4 values 2 then 10 -2 =8 print 5*8=40 or diff 5 print same

1 Answers   Tech Mahindra,


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

0 Answers  


How to customise the other shell?

2 Answers   Quest,


write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null

1 Answers  






What does $0 mean in shell script?

0 Answers  


write a shell script to identify the given string is palindrome or not?

17 Answers   CTS, HP, IBM, InfoEst, Wipro,


Where cron file kept?

2 Answers   Tech Mahindra,


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.

0 Answers   Cap Gemini, Wipro,


What does .sh file contain?

0 Answers  


How to debug the problems encountered in the shell script/program?

0 Answers  


how to search for vowels a,e,i,o,u appearing in the same sequence in a file

4 Answers   Amazon,


Categories