From 942432619ee15ca10f902e9142a41b0fa0209777 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Mon, 14 Sep 2020 11:01:44 -0400 Subject: [PATCH] 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 --- doc/developer/process-architecture.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/developer/process-architecture.rst b/doc/developer/process-architecture.rst index 6e0eb68188..6a028d0000 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 ^^^^^^^^^^^^^^ -- 2.39.5