One solution for deadlock prevention for dining
philosopher's problem
Answers were Sorted based on User's Feedback
Answer / mohamad sultan
we can requier philosopher's to grab both the forks at the same time.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / kalyani
By allowing only 4 members and signaling the 5th person.
| Is This Answer Correct ? | 13 Yes | 12 No |
Answer / guest
Allow one person to take first left stick and then right stick
and remaining persons in reverse order.
| Is This Answer Correct ? | 5 Yes | 12 No |
Can we compare two files in notepad ++?
What happens when I reset my computer?
Which is better curl or wget?
Is heap shared between processes?
Can I factory reset my laptop without a recovery disc?
How do I run wget?
What is the difference between kernel and operating system?
What is Cycle Stealing in OS?
Can a laptop have both ssd and hdd?
1) What is an Virtual memory? 2) How do we test API's in both Windows/Linux/Unix? 3) What is an IOCTL? 4) How do you open a char device through API's? 5) What is major num/ minor num? 6) What is the max num for minor num? 7) Who gives you the major / minor numbers? 8) Reverse a string using recursive func. 9) fork/vfork/clone. 10) What does fork returns? 11) What is a zombie process? 12) What happens when a child completes before parent tries to wait for it? 13) Interrupt handlers, top-hdnl....?
What should I consider when buying a laptop?
In the process table entry for the kernel process, the process id value is a) 0 b) 1 c) 2 d) 255 e) it does not have a process table entry
4 Answers Aspire, IBM, Saigun Technologies,