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


Please Help Members By Posting Answers For Below Questions

What is ln(linking)?

578


Explain the initial process sequence while the system boots up?

546


Explain about daemon?

565


Explain linking across directories?

532


What are the various schemes available?

543






Please explain fork() system call?

555


Please describe the initial process sequence while the system boots up?

573


What is the condition required for dead lock in unix system?

548


Explain what are the system calls used for process management?

512


What is ipc in unix?

558


What is the full form of ipc?

578


What is fork()?

597


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

583


What are two different models of ipc differentiate both?

574


What is i-node numbers?

592