Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 18 of 18) sorted by relevance

/libuv/docs/src/
H A Dpoll.rst8 writability and disconnection similar to the purpose of :man:`poll(2)`.
10 The purpose of poll handles is to enable integrating external libraries that
17 It is possible that poll handles occasionally signal that a file descriptor is
22 It is not okay to have multiple active poll handles for the same socket, this
26 active poll handle. This can cause the handle to report an error,
31 On windows only sockets can be polled with poll handles. On Unix any file
32 descriptor that would be accepted by :man:`poll(2)` can be used.
130 :c:func:`uv_poll_start` on a poll handle associated with this socket,
141 .. c:function:: int uv_poll_stop(uv_poll_t* poll)
H A Dapi.rst19 poll
H A Didle.rst12 the loop will perform a zero timeout poll instead of blocking for i/o.
H A Dfs_poll.rst8 :c:type:`uv_fs_event_t`, fs poll handles use `stat` to detect when a file has
H A Dloop.rst160 poll in one thread and run the event loop's callbacks in another see
169 Get the poll timeout. The return value is in milliseconds, or -1 for no
H A Dhandle.rst229 The following handles are supported: TCP, pipes, TTY, UDP and poll. Passing
/libuv/
H A DMakefile.am32 libuv_la_SOURCES = src/fs-poll.c \
78 src/win/poll.c \
109 src/unix/poll.c \
180 test/test-fs-poll.c \
235 test/test-poll.c \
240 test/test-poll-oob.c \
404 src/unix/posix-poll.c \
420 src/unix/posix-poll.c \
471 src/unix/posix-poll.c
480 src/unix/posix-poll.c \
[all …]
H A DCMakeLists.txt175 src/fs-poll.c
214 src/win/poll.c
246 src/unix/poll.c
322 src/unix/posix-poll.c
397 src/unix/posix-poll.c)
421 src/unix/posix-poll.c)
427 src/unix/posix-poll.c
447 src/unix/posix-poll.c
555 test/test-fs-poll.c
612 test/test-poll-oob.c
[all …]
H A DChangeLog886 * aix,test: uv_backend_fd is not supported by poll (V-for-Vasili)
1045 * win,poll: add the MSAFD GUID for AF_UNIX (roflcopter4)
1246 * poll,win: UV_PRIORITIZED option should not assert (twosee)
1364 * poll,unix: ensure safety of rapid fd reuse (Bob Weinand)
1766 * test: handle EINTR, fix EOF check in poll test (Ben Noordhuis)
2602 * zos: clear poll events on every iteration (jBarz)
2814 * test,freebsd: fix flaky poll tests (Santiago Gimeno)
3149 * poll: add support for OOB TCP and GPIO interrupts (CurlyMoo)
3423 * unix: add a uv__io_poll impl using POSIX poll(2) (Brad King)
3941 * poll: add UV_DISCONNECT event (Santiago Gimeno)
[all …]
/libuv/test/
H A Dtest-embed.c68 rc = poll(&p, 1, uv_backend_timeout(loop)); in TEST_IMPL()
H A Dtest-fork.c51 static void socket_cb(uv_poll_t* poll, int status, int events) { in socket_cb() argument
61 uv_close((uv_handle_t*) poll, NULL); in socket_cb()
/libuv/src/unix/
H A Dposix-poll.c213 nfds = poll(loop->poll_fds, (nfds_t)loop->poll_fds_used, timeout); in uv__io_poll()
375 rv = poll(p, 1, 0); in uv__io_check_fd()
H A Dos390-syscalls.c312 pollret = poll(pfds, size, timeout); in epoll_wait()
H A Dos390.c618 rv = poll(p, 1, 0); in uv__io_check_fd()
H A Dfs.c929 n = poll(&pfd, 1, -1); in uv__fs_sendfile_emul()
/libuv/docs/src/guide/
H A Dutilities.rst254 call whenever sockets change state. But before we go into that, we need to poll
270 poll. So we stop and free the poll handle.
273 ``UV_READABLE`` or ``UV_WRITABLE``. Now libuv will invoke the poll callback
H A Dintroduction.rst42 mechanisms like kqueue or (e)poll is IOCP. libuv was an abstraction around libev
/libuv/include/
H A Duv.h170 XX(POLL, poll) \

Completed in 44 milliseconds