LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 09-23-2004, 07:53 AM   #1
meinlinux
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Got any implementations of Dining Philosophers with semaphores?


Hi ppl!!

I have to submit an assignment on the various implementations possible of the dining philosopher problem. I got an implementation which uses mutexes,from LQ. Does anybody have any code which uses any other implementation....even if it creates deadlocks...it would be highly useful as i can add an analysis element into it...thanx!!
 
Old 09-25-2004, 04:38 AM   #2
meinlinux
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
hey ppl!!

nobody gonna help me?? i really am in a fix!!
 
Old 09-25-2004, 05:04 AM   #3
meinlinux
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Original Poster
Rep: Reputation: 0
hi i hope i am not breaking the rules....i just want to add one more thing!...implementation using message queues would also be welcome!! Thanks!
 
Old 09-25-2004, 05:22 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sorry but LQ rules forbid asking of homework questions.

Dining Philosophers isn't that involed though if i recall it correctly... you can do it! we believe in you!

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UFS-Implementations spinifeX *BSD 1 01-09-2005 12:01 AM
semaphores charles_sjc Linux - Software 2 12-06-2003 12:15 AM
IPSec / all implementations telmich Linux - Software 1 07-15-2003 08:17 AM
TCP implementations sabeel_ansari Linux - Networking 3 06-10-2002 01:54 PM
interesting LFS implementations? trub Linux From Scratch 3 02-14-2002 08:25 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration