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 * * This example is an implementation of the classical Dining Philosophers *
* exercise using only libcaf's event-based actor implementation. * * exercise using only libcaf's event-based actor implementation. *
\ ******************************************************************************/ \******************************************************************************/
#include <map> #include <map>
#include <thread> #include <thread>
...@@ -68,7 +68,7 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self, ...@@ -68,7 +68,7 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self,
// //
// //
// +-------------+ {busy|taken} // +-------------+ {busy|taken}
// /-------->| thinking |<------------------\ // +-------->| thinking |<------------------+
// | +-------------+ | // | +-------------+ |
// | | | // | | |
// | | {eat} | // | | {eat} |
...@@ -86,10 +86,10 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self, ...@@ -86,10 +86,10 @@ chopstick::behavior_type taken_chopstick(chopstick::pointer self,
// | +-------------+ // | +-------------+
// | | | // | | |
// | {busy} | | {taken} // | {busy} | | {taken}
// \-----------/ | // +-----------+ |
// | V // | V
// | {think} +-------------+ // | {think} +-------------+
// \---------| eating | // +---------| eating |
// +-------------+ // +-------------+
class philosopher : public event_based_actor { class philosopher : public event_based_actor {
......
...@@ -56,21 +56,21 @@ behavior calculator_fun() { ...@@ -56,21 +56,21 @@ behavior calculator_fun() {
// | // |
// V // V
// +-------------+ // +-------------+
// | unconnected |<------------------\ // | unconnected |<------------------+
// +-------------+ | // +-------------+ |
// | | // | |
// | {connect Host Port} | // | {connect Host Port} |
// | | // | |
// V | // V |
// +-------------+ {error} | // +-------------+ {error} |
// /-------------->| connecting |------------------>| // +-------------->| connecting |-------------------+
// | +-------------+ ^ // | +-------------+ |
// | | | // | | |
// | | {ok, Calculator} | // | | {ok, Calculator} |
// |{connect Host Port} | | // |{connect Host Port} | |
// | V | // | V |
// | +-------------+ {DOWN server} | // | +-------------+ {DOWN server} |
// \---------------| running |-------------------/ // +---------------| running |-------------------+
// +-------------+ // +-------------+
namespace client { 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