Re: dining philosopher's problem



Richard Heathfield wrote:
binayaj@xxxxxxxxx said:

I need to solve the dinining philosopher's problem , but with
modifications so that Only at a time , either even or odd
philosopher can eat...

All philosophers are odd.

Imprecise. All even philosophers are odd. :-)

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>

"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews


--
Posted via a free Usenet account from http://www.teranews.com

.



Relevant Pages

  • Re: Some interesting criticisms of rails
    ... >> important that the number of resource aquisitors is odd). ... > difference whether the number was odd or even--there was one fork for each ... > philosopher but he could only eat if he had two forks. ... When I first learned of the Dining Philosophers, ...
    (comp.lang.ruby)
  • Re: The Identity Theory of Mind
    ... >> Ah, but for philosophers, the literature is the important thing. ... >Which is odd, since the great philosophers the followers constantly like ... How does one engineer the right without deconstructing the wrong? ...
    (sci.cognitive)
  • Re: Some interesting criticisms of rails
    ... > that the number of resource aquisitors is odd). ... Not only five philosophers, but five forks too. ... the application and into the database, which is fine if your database ... It doesn't *remove* the complexity as such, ...
    (comp.lang.ruby)
  • Re: [C] simple string question
    ... "Richard Heathfield" wrote in message ... > That's odd. ... have some teaching value, except for those that purposely misspell stuff, ...
    (comp.lang.c)
  • Re: [C] simple string question
    ... "Richard Heathfield" wrote in message ... > That's odd. ... have some teaching value, except for those that purposely misspell stuff, ...
    (alt.comp.lang.learn.c-cpp)