Author:halw

Date:2011-02-24T17:26:36.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@791 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2011-02-24 20:18:56 +00:00
parent 90d50611c1
commit c06edf617a
2 changed files with 3 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
[[Property:title|Barbershop]]
[[Property:weight|-11]]
[[Property:uuid|5ffbb4a1-10a1-c7d8-d30a-971027bf61ae]]
[[Property:uuid|3a6f929f-17a2-c9d8-1b88-0aad83db4160]]
{{UnderConstruction}}
@@ -11,7 +11,7 @@
The [http://en.wikipedia.org/wiki/Sleeping_barber_problem barbershop], sometimes called ''the sleeping barber'', models a barbershop with one barber, one barber's chair, and a waiting room with several chairs. The alternative name of the problem comes from the fact that if there is no one waiting for a haircut, the barber flops in his chair and falls asleep.
Also involved are a number of shaggy-haired customers. A customer entering the barbershop looks around and assesses the situation. If all the waiting room chairs are occupied, the customer leaves the shop to return again at a time when, hopefully, the queue will be shorter.
Also involved are a number of shaggy-haired customers. A customer entering the barbershop looks around and assesses the situation. If all the waiting room chairs are occupied, the customer leaves the shop to return again at a time when hopefully the queue will be shorter.
=Highlights=