diff options
author | Elad Nachmias <eladn@pazam.net> | 2020-11-04 17:39:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 10:39:29 -0500 |
commit | c2afc2f02a313ce6b89294b7f352da591366523a (patch) | |
tree | 624be04fa763b439d1d056f5aa5da52192f22e70 /test/test-tcp-bind-error.c | |
parent | 11dd3b467fef2188334b925a0a89643eee892a25 (diff) | |
download | libuv-c2afc2f02a313ce6b89294b7f352da591366523a.tar.gz libuv-c2afc2f02a313ce6b89294b7f352da591366523a.zip |
doc,poll: add notes (repeated cb & cancel pending cb)
Added notes to documentation of `uv_poll_t`:
- The callback will be called over-and-over again as long as the socket
remains readable/writable.
- uv_poll_stop() cancels pending callbacks of already happened events.
Fixes: https://github.com/libuv/libuv/issues/1078
PR-URL: https://github.com/libuv/libuv/pull/1100
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'test/test-tcp-bind-error.c')
0 files changed, 0 insertions, 0 deletions