Skip to content

Commit 7dc7531

Browse files
committed
Clarify characterization of problem solution.
Also add brief explanation about why program output may differ.
1 parent 8930b89 commit 7dc7531

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/doc/book/dining-philosophers.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,10 @@ You’ll notice we can introduce a new binding to `table` here, and it will
704704
shadow the old one. This is often used so that you don’t need to come up with
705705
two unique names.
706706

707-
With this, our program works! Only two philosophers can eat at any one time,
708-
and so you’ll get some output like this:
707+
With this, our program works! No more than two philosophers can eat at any one
708+
time, and so you’ll get some output like this (due to the arbitrary order of
709+
execution of spawned threads, your output may be different -- and may be
710+
different each time you run your program):
709711

710712
```text
711713
Gilles Deleuze is eating.

0 commit comments

Comments
 (0)