what is the condition required for dead lock in unix sustem ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is unix ipc?
How do you execute one program from within another?
set-user-id is related to (in unix)
How to get or set an environment variable from a program?
What are the system calls used for process management?
Please explain fork() system call?
Please describe the initial process sequence while the system boots up?
About ln(linking)
Explain what is the process id for kernel process?
Explain the initial process sequence while the system boots up?
What are the various schemes available in ipc?
what about the initial process sequence while the system boots up?