mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Author:halw
Date:2011-02-10T20:56:24.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@758 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
[[Property:title|Dining savages]]
|
||||
[[Property:weight|-6]]
|
||||
[[Property:uuid|84358828-76b5-a972-6d8b-a38e3aeb3ca7]]
|
||||
[[Property:uuid|ecd618f3-14f4-1a06-7f9c-be57623a9889]]
|
||||
{{UnderConstruction}}
|
||||
|
||||
|
||||
{{Beta}}
|
||||
|
||||
|
||||
|
||||
=Description=
|
||||
|
||||
|
||||
The problem of the dining savages (an obvious allusion to the classic dining philosophers) is based on the arguably tasteless analogy of a number of members of a primitive culture are sharing a meal from a single pot. The players are the "savages" themselves, a cook, and the pot. Each of the savages can freely take a serving from the pot so long as the pot is not empty. When the pot does become empty, the cook must be awakened to refill the pot, after which the feast continues. So, the savages can eat only when the pot is not empty, and the cook can fill the pot only when the pot is empty.
|
||||
|
||||
|
||||
=Highlights=
|
||||
|
||||
Reference in New Issue
Block a user