what is the condition required for dead lock in unix sustem ?

Answers were Sorted based on User's Feedback



what is the condition required for dead lock in unix sustem ?..

Answer / kumar

deadlock occurs because of
1.no preembtion
2.circular waiting i.e.. when A process is waiting for the
resources which are held by the procees B,which is waiting
for the resources engaged by process A.

Is This Answer Correct ?    16 Yes 1 No

what is the condition required for dead lock in unix sustem ?..

Answer / sumeetece

If a program tries to call pthread_mutex_lock on a mutex
that it already has locked then the program will block.Since
the thread that holds the lock is the one that is now
blocked, the mutex can never be unlocked and the program is
DEADLOCKED.

Is This Answer Correct ?    14 Yes 4 No

Post New Answer

More Unix IPC Interview Questions

Describe the initial process sequence while the system boots up?

4 Answers  


Max relaxable permisssion value with out giving write permission to others?

2 Answers   IBM,


How to write the program on full-duplex communication using 2 FIFOs

0 Answers  


Predict the output of the following program code main() { fork(); printf("Hello World!"); }

3 Answers  


What are the process states in Unix?

11 Answers  






What is i-node numbers?

0 Answers  


set-user-id is related to (in unix)

1 Answers  


Explain how do you execute one program from within another?

0 Answers  


Explain linking across directories?

0 Answers  


About ln(linking)

1 Answers   Infosys,


What is unix ipc?

0 Answers  


what is the very first process created by kernell

5 Answers  


Categories