]> git.corax.cc Git - toolbox/commitdiff
include/queue: Fix missing arrowheads in documentation
authorMatthias Kruk <m@m10k.eu>
Sun, 27 Jun 2021 07:35:28 +0000 (16:35 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 27 Jun 2021 07:35:28 +0000 (16:35 +0900)
The petri net in the comment explaining the queue internals are
missing arrowheads. This may cause confusion since edges in petri
nets are usually directed.
This commit adds the missing arrowheads to the petri net.

include/queue.sh

index fbcb8ffb77dcdacfea41baa515abd978a702db69..0eceda2699c21d0c0213c8c9b672f96f34e0026c 100644 (file)
@@ -24,7 +24,7 @@
 # as described by the following petri net.
 #
 #                 .-----.
-#  .--------------| c00 |---------------.
+#  .------------->| c00 |---------------.
 #  |              '-----'               |
 #  |                                    |
 #  '---|   .-----.   |    .-----.   |<--'
@@ -32,7 +32,7 @@
 #  .---|   '-----'   |<-. '-----'   |<--.
 #  |                    |               |
 #  |       .-----.      |            .-----.
-#  '-------| mtx |------'            | sem |
+#  '------>| mtx |------'            | sem |
 #          |  1  |                   |  0  |
 #  .-------|     |<------.           |     |
 #  |       '-----'       |           '-----'