From 9bac2221bf45f50567a1d940dba8faf59c9b5361 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Fri, 6 Dec 2024 14:17:11 +0100 Subject: [PATCH] Use unicode arrows and lines to draw diagram in async_rw_mutex documentation example - Looks prettier - Avoids warnings about escaping newlines in comments with \ --- examples/documentation/async_rw_mutex_documentation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/documentation/async_rw_mutex_documentation.cpp b/examples/documentation/async_rw_mutex_documentation.cpp index c98386d3b..737de6682 100644 --- a/examples/documentation/async_rw_mutex_documentation.cpp +++ b/examples/documentation/async_rw_mutex_documentation.cpp @@ -25,9 +25,9 @@ int main(int argc, char* argv[]) // Below we will access the value proteced by the mutex with the // following implied dependency graph: // - // /--> ro_access1 --\ - // rw_access1 +---> ro_access2 ---+---> rw_access2 - // \--> ro_access3 --/ + // ┌──► ro_access1 ──┐ + // rw_access1 ──┼──► ro_access2 ──┼──► rw_access2 + // └──► ro_access3 ──┘ // // Note that the senders themselves don't depend on each other // explicitly as above, but the senders provided by the mutex enforce