Skip to content

Commit

Permalink
Update composition-actors.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejpirog committed Apr 16, 2023
1 parent 579ee30 commit 9fc2129
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/composition-actors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
// Maciej Pirog, Huawei Edinburgh Research Centre, maciej.pirog@huawei.com
// License: MIT

// Example: Erlang-style actors obtained by coposition of threads and mutable state
// Example: Erlang-style actors obtained by composition of two effects: threads and mutable state

// In this example, the dynamic binding of an effect to a handler is crucial. It is used by an
// actor to get the reference to the right mailbox in the "receive" function.

#include <iostream>
#include <any>
Expand Down

0 comments on commit 9fc2129

Please sign in to comment.