Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-threadpool-cancel.c172 ASSERT(known_broken(req) || 0 == uv_cancel(req)); in timer_cb()
281 ASSERT_OK(uv_cancel((uv_req_t*) &req)); in TEST_IMPL()
377 ASSERT_OK(uv_cancel((uv_req_t*) &req)); in TEST_IMPL()
410 ASSERT_EQ(uv_cancel((uv_req_t*) &req), UV_EBUSY); in TEST_IMPL()
/libuv/docs/src/
H A Dthreadpool.rst47 was cancelled using :c:func:`uv_cancel` `status` will be ``UV_ECANCELED``.
70 This request can be cancelled with :c:func:`uv_cancel`.
H A Drequest.rst68 .. c:function:: int uv_cancel(uv_req_t* req)
/libuv/docs/code/queue-cancel/
H A Dmain.c38 uv_cancel((uv_req_t*) &fib_reqs[i]); in signal_handler()
/libuv/docs/src/guide/
H A Dthreads.rst241 Since libuv version `0.9.4` an additional function, ``uv_cancel()``, is
244 executing, or it has finished executing*, ``uv_cancel()`` **will fail**.
246 ``uv_cancel()`` is useful to cleanup pending tasks if the user requests
251 Let's modify the fibonacci example to demonstrate ``uv_cancel()``. We first set
261 ``uv_cancel()`` to all the workers. ``uv_cancel()`` will return ``0`` for those that are already ex…
280 ``uv_cancel()`` can also be used with ``uv_fs_t`` and ``uv_getaddrinfo_t``
/libuv/src/
H A Dthreadpool.c388 int uv_cancel(uv_req_t* req) { in uv_cancel() function
/libuv/include/
H A Duv.h1181 UV_EXTERN int uv_cancel(uv_req_t* req);
/libuv/
H A DChangeLog453 * test: add uv_cancel test for threadpool (Trevor Norris)
1500 * doc: uv_cancel() handles uv_random_t requests (Philip Chimento)

Completed in 26 milliseconds