Random
Source Code

dining philosophers

a famous problem in the field of concurrency (a sub-field in computer science, for the uninitiated) that discusses an approach to allocate a fixed number of resources among several consumers. here is the actual dining philosophers problem (DPP)...

"A certain number of philosophers spend their lives alternating between thinking and eating. They are seated around a circular table. There is a fork placed between each pair of neighboring philosophers. Each philosopher has access to the forks at her left and right. In order to eat, a philosopher must be in possession of both forks. A philosopher may only pick up one fork at a time. Each philosopher attempts to pick up the left fork first and then the right fork. When done eating, a philosopher puts both forks back down on the table and begins thinking. Since the philosophers are sharing forks, it is not possible for all of them to be eating at the same time."

geek A: i crunched an O(1) solution to the DPP.
geek B: oh yeah ! in your dreams. dont bullshit me.
cool C: wtf is DPP ? y'all bitches need to get laid.

by DemonHunter March 11, 2004


dining philosophers

Those dickheads that sit at Denny's talking about this, that, and some mothers.

The dining philosophers have finally decided on 4 grandslams.

by Ron Jizzle March 6, 2004

2👍 7👎


dining philosophers

When two or more individuals order only coffee at a restaraunt and discuss their theories on life.

I went out for a quiet evening and a nice steak but found myself surounded by dining philosophers.

by Patrick Yeck March 12, 2004

1👍 5👎