Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

how to create tree of processes. one parent and 3 childs.

1 Answers   HCL,


What is a zombie?

10 Answers  


Which ipc is faster?

0 Answers  


Explain fork() system call?

12 Answers   ASAS, IBM,


What are the various schemes available?

0 Answers  


What is fork()?

0 Answers  


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

3 Answers  


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

0 Answers  


How can you get or set an environment variable from a program?

2 Answers  


What is unix ipc?

0 Answers  


What are the process states in Unix?

11 Answers  


How to write the program on full-duplex communication on bidirectional?

0 Answers  


Categories