Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
1 changed file
with
113 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters