samples: philosphers: Fix typo in famous name
Dijkstra not djkstra Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
parent
c6579041d7
commit
c3f67ab976
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ void philosopher(void *id, void *unused1, void *unused2)
|
|||
|
||||
int my_id = POINTER_TO_INT(id);
|
||||
|
||||
/* Djkstra's solution: always pick up the lowest numbered fork first */
|
||||
/* Dijkstra's solution: always pick up the lowest numbered fork first */
|
||||
if (is_last_philosopher(my_id)) {
|
||||
my_fork1 = fork(0);
|
||||
my_fork2 = fork(my_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue