Merge pull request #7099 from mjstapp/fix_doc_thread_rw

doc: clarify independence of THREAD_READ and _WRITE
This commit is contained in:
Lou Berger 2020-09-15 11:20:13 -04:00 committed by GitHub
commit eac139f8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
^^^^^^^^^^^^^^