poll: Document reentrancy restriction on before()
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 21 Sep 2014 14:02:40 +0000 (15:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 6 Oct 2014 22:29:37 +0000 (23:29 +0100)
commit51abbe5f68f3c784987bc5f5d9575c967ec5895d
tree818b4e77a3c7765d56301dcb251b93fe632b9e12
parent8bebb29950d2a3c8558e676575cbff35b4e360c3
poll: Document reentrancy restriction on before()

If the before() callback might modify the wanted fds or timeouts of
other poll users, the loop over poll users in run() might produce
wrong answers.  Therefore, document that this is not permitted.  (All
of the existing before() implementations are indeed fine.)

Also, document a couple of features of the afterpoll_fn interface.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
secnet.h