Commit f476b6f5 authored by Dominik Charousset's avatar Dominik Charousset

Fix multi-line comment warnings

parent 27c59b0d
/******************************************************************************\
* This example is an implementation of the classical Dining Philosophers *
* exercise using only libcaf's event-based actor implementation. *
\ ******************************************************************************/
\******************************************************************************/
#include <map>
#include <thread>
......@@ -68,7 +68,7 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self,
//
//
// +-------------+ {busy|taken}
// /-------->| thinking |<------------------\
// +-------->| thinking |<------------------+
// | +-------------+ |
// | | |
// | | {eat} |
......@@ -86,10 +86,10 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self,
// | +-------------+
// | | |
// | {busy} | | {taken}
// \-----------/ |
// +-----------+ |
// | V
// | {think} +-------------+
// \---------| eating |
// +---------| eating |
// +-------------+
class philosopher : public event_based_actor {
......
......@@ -56,21 +56,21 @@ behavior calculator_fun() {
// |
// V
// +-------------+
// | unconnected |<------------------\
// | unconnected |<------------------+
// +-------------+ |
// | |
// | {connect Host Port} |
// | |
// V |
// +-------------+ {error} |
// /-------------->| connecting |------------------>|
// | +-------------+ ^
// +-------------->| connecting |-------------------+
// | +-------------+ |
// | | |
// | | {ok, Calculator} |
// |{connect Host Port} | |
// | V |
// | +-------------+ {DOWN server} |
// \---------------| running |-------------------/
// +---------------| running |-------------------+
// +-------------+
namespace client {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment