Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 8 of 8) sorted by relevance

/libuv/test/
H A Dtest-semaphore.c31 int delay; member
39 if (c->delay) in worker()
40 uv_sleep(c->delay); in worker()
79 wc.delay = 100; in TEST_IMPL()
H A Dtest-barrier.c30 unsigned delay; member
41 if (c->delay) in worker()
42 uv_sleep(c->delay); in worker()
76 wc.delay = 100; in TEST_IMPL()
/libuv/src/unix/
H A Dtcp.c469 int uv__tcp_keepalive(int fd, int on, unsigned int delay) { in uv__tcp_keepalive() argument
484 if (delay < 1) in uv__tcp_keepalive()
510 idle = delay; in uv__tcp_keepalive()
551 idle = delay; in uv__tcp_keepalive()
598 int uv_tcp_keepalive(uv_tcp_t* handle, int on, unsigned int delay) { in uv_tcp_keepalive() argument
602 err =uv__tcp_keepalive(uv__stream_fd(handle), on, delay); in uv_tcp_keepalive()
H A Dinternal.h297 int uv__tcp_keepalive(int fd, int on, unsigned int delay);
/libuv/docs/src/
H A Dtcp.rst80 .. c:function:: int uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay)
82 Enable / disable TCP keep-alive. `delay` is the initial delay in seconds,
85 After `delay` has been reached, 10 successive probes, each spaced 1 second
90 If `delay` is less than 1 then ``UV_EINVAL`` is returned.
92 .. versionchanged:: 1.49.0 If `delay` is less than 1 then ``UV_EINVAL``` is returned.
/libuv/src/win/
H A Dtcp.c52 static int uv__tcp_keepalive(uv_tcp_t* handle, SOCKET socket, int enable, unsigned int delay) { in uv__tcp_keepalive() argument
64 if (delay < 1) in uv__tcp_keepalive()
70 (const char*)&delay, in uv__tcp_keepalive()
71 sizeof delay) == -1) { in uv__tcp_keepalive()
1338 int uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay) { in uv_tcp_keepalive() argument
1342 err = uv__tcp_keepalive(handle, handle->socket, enable, delay); in uv_tcp_keepalive()
/libuv/include/
H A Duv.h605 unsigned int delay);
/libuv/
H A DChangeLog87 * linux: don't delay EPOLL_CTL_DEL operations (Ben Noordhuis)
91 * unix,win: error on zero delay tcp keepalive (Saúl Ibarra Corretgé)
922 * zos: delay signal handling until after normal i/o (Shuowang (Wayne) Zhang)
2857 * unix: delay fs req register until after validation (cjihrig)
3780 * unix: delay signal handling until after normal i/o (Ben Noordhuis)

Completed in 32 milliseconds