summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-09-14 17:01:44 +0200
committerMark Stapp <mjs@voltanet.io>2020-09-14 17:01:44 +0200
commit942432619ee15ca10f902e9142a41b0fa0209777 (patch)
treebb947a48341372d45990d603ab4cd9091e469b79 /doc
parentMerge pull request #7075 from donaldsharp/snap_fix (diff)
downloadfrr-942432619ee15ca10f902e9142a41b0fa0209777.tar.xz
frr-942432619ee15ca10f902e9142a41b0fa0209777.zip
doc: clarify independence of THREAD_READ and _WRITE
Make it clearer that the READ and WRITE tasks/events are independent in the lib/thread apis. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/process-architecture.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/developer/process-architecture.rst b/doc/developer/process-architecture.rst
index 6e0eb6818..6a028d000 100644
--- a/doc/developer/process-architecture.rst
+++ b/doc/developer/process-architecture.rst
@@ -94,7 +94,9 @@ irrelevant for the time being) for the specific type. For example, to add a
thread_add_read(struct thread_master *master, int (*handler)(struct thread *), void *arg, int fd, struct thread **ref);
The ``struct thread`` is then created and added to the appropriate internal
-datastructure within the ``threadmaster``.
+datastructure within the ``threadmaster``. Note that the ``READ`` and
+``WRITE`` tasks are independent - a ``READ`` task only tests for
+readability, for example.
The Event Loop
^^^^^^^^^^^^^^