diff options
author | Mark Stapp <mjs@voltanet.io> | 2020-09-14 17:01:44 +0200 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2020-09-14 17:01:44 +0200 |
commit | 942432619ee15ca10f902e9142a41b0fa0209777 (patch) | |
tree | bb947a48341372d45990d603ab4cd9091e469b79 /doc | |
parent | Merge pull request #7075 from donaldsharp/snap_fix (diff) | |
download | frr-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.rst | 4 |
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 ^^^^^^^^^^^^^^ |