Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
erik_seaberg
· 7y ago · 0 comments
And a table of pre-sliced pizza would be less prone to philosophers starving while deadlocked on acquiring utensils.
Comments
[–]
cbanek
7y ago
What if two philosophers grab the same slice and won't let go?
[–]
pbhjpbhj
7y ago
One eats the pizza first, then the other eats it, problem solved!
[–]
nwmcsween
7y ago
That just serializes the problem, maybe the philosophers could just atomically take a slice, but what if its half pinapple and naturally no one likes pinapple and there arent enough slices?
[–]
pbhjpbhj
7y ago
Reminds me of mathematical methods for fairly dividing cake, eg
https://mindyourdecisions.com/blog/2015/12/22/how-to-split-a...
(though I don't think that's the method I'm recalling).
[–]
th33ngineer
7y ago
No need for utensils while eating pizza! Publish me!