what is the condition required for dead lock in unix sustem ?
Answer Posted / 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 View All Answers
Explain what are the system calls used for process management?
How to get or set an environment variable from a program?
Explain the initial process sequence while the system boots up?
How to write the program on full-duplex communication on bidirectional?
What is fork()?
Max relax-able permission value with out giving write permission to others?
What is i-node numbers?
What is ln(linking)?
What is the condition required for dead lock in unix system?
Explain the system calls used for process management?
Which ipc is the fastest in unix?
Which ipc is faster?
What are two different models of ipc differentiate both?
What is ipc port?
Explain about daemon?