Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh authored Nov 6, 2021
1 parent cb72908 commit 103bb04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/Cpp/Savina/src/concurrency/Philosophers.lf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* This benchmark implements a "solution" to the philosophers problem.
* This LF implementation stays close to the original Akka implementation
* in the Savina suite. However, it is not a particular good solution as
* in the Savina suite. However, it is not a particularly good solution as
* it relies on busy waiting. The Philosophers bombard the Arbitrator
* with "hungry" messages until they are allowed to eat. In an actor
* implementation, this leads to millions of messages being sent.
Expand All @@ -20,7 +20,7 @@
* model the time a philosopher needs to eat and think. But for this simple
* benchmark, it is more efficient to have a single action in the arbitrator
* only to break the loop. The idea is to process all hungry requests within
* one tag and to store the replies in a state variable. Thena logical action
* one tag and to store the replies in a state variable. Then, a logical action
* is scheduled and the corresponding reaction will send the eat and denied
* messages to each Philosopher.
*
Expand Down

0 comments on commit 103bb04

Please sign in to comment.