Skip to content

Commit f0ee7be

Browse files
committed
Rephrase dining philosophers problem
The dining philosophers problem setup is quoted from C. A. R. Hoare's "Communicating Sequential Processes." This is not the paper in which the problem originated, nor does the example use the solution from Hoare's paper. Furthermore, the quoted example uses forks and pasta, and it doesn't make much sense to need two forks to eat; the formulation of this problem that I am most familiar with uses chopsticks, which makes much more sense. In addition, the quoted example uses male pronouns, the rest of the article uses singular "they", and refers to the philosophers with just numbers at first, but then goes on to use five Western European male philosophers. Since the particular quotation is not essential, the use of forks is not particularly sensible, and to increase the diversity of philosophers, simply rewrite the statement of the problem with original text. Use the appropriate pronouns for the philosophers referred to, but continue to use singular "they" when talking about an unspecified philosopher.
1 parent f6b446f commit f0ee7be

File tree

1 file changed

+117
-122
lines changed

1 file changed

+117
-122
lines changed

0 commit comments

Comments
 (0)