From: Adrian Tymes (wingcat@pacbell.net)
Date: Tue May 29 2001 - 01:20:25 MDT
Emlyn wrote:
> Dining philosophers from extro 5, one fork each... does each person actually
> need a fork in each hand to eat? Watch out for deadlock...
Dining philosophers problem: one fork each, assumption that two forks
are needed.
Classic solution: algorithm to avoid deadlock, nothing said about
passing germs on shared forks or what happens if/when algorithm fails
(say, due to shoddy implementation).
Extro solution: teach philosophers how to eat with just one fork.
("...and if you turn it on its side, it can kinda act as a knife.")
This archive was generated by hypermail 2.1.5 : Sat Nov 02 2002 - 08:07:49 MST