Re: IPC

2009-02-09 Thread Alexander Burger
Hi Tomas, > > As the tell -> hear mechanism is a pipe, it behaves like a fifo. So I > > would expect that this would suffice. > > Not due to the logic of the algorithm, e.g. when the philosopher is > hungry, he must hand over dirty forks immediately but not clean forks. > He must remember that he

Re: IPC

2009-02-09 Thread Tomas Hlavaty
Hi Alex, >> The fifo is there to defer requests for chopsticks when the >> philosopher is hungry or eating. Do you have any other mechanism in >> mind? > > As the tell -> hear mechanism is a pipe, it behaves like a fifo. So I > would expect that this would suffice. Not due to the logic of the al