Home
last modified time | relevance | path

Searched refs:uv_work_t (Results 1 – 17 of 17) sorted by relevance

/libuv/docs/code/progress/
H A Dmain.c12 void fake_download(uv_work_t *req) { in fake_download()
26 void after(uv_work_t *req, int status) { in after()
39 uv_work_t req; in main()
/libuv/docs/code/queue-work/
H A Dmain.c17 void fib(uv_work_t *req) { in fib()
27 void after_fib(uv_work_t *req, int status) { in after_fib()
35 uv_work_t req[FIB_UNTIL]; in main()
/libuv/test/
H A Dtest-loop-alive.c32 static uv_work_t work_req;
34 static void work_cb(uv_work_t* req) { in work_cb()
38 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb()
H A Dtest-threadpool-cancel.c53 static uv_work_t pause_reqs[4];
57 static void work_cb(uv_work_t* req) { in work_cb()
62 static void done_cb(uv_work_t* req, int status) { in done_cb()
152 static void work2_cb(uv_work_t* req) { in work2_cb()
157 static void done2_cb(uv_work_t* req, int status) { in done2_cb()
181 static void nop_done_cb(uv_work_t* req, int status) { in nop_done_cb()
294 uv_work_t reqs[16]; in TEST_IMPL()
372 uv_work_t req; in TEST_IMPL()
388 static void after_busy_cb(uv_work_t* req, int status) { in after_busy_cb()
393 static void busy_cb(uv_work_t* req) { in busy_cb()
[all …]
H A Dtest-threadpool.c27 static uv_work_t work_req;
31 static void work_cb(uv_work_t* req) { in work_cb()
38 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb()
H A Dbenchmark-queue-work.c35 static void work_cb(uv_work_t* req) { in work_cb()
40 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb()
51 uv_work_t work; in BENCHMARK_IMPL()
H A Dtest-loop-close.c59 static void loop_instant_close_work_cb(uv_work_t* req) { in loop_instant_close_work_cb()
62 static void loop_instant_close_after_work_cb(uv_work_t* req, int status) { in loop_instant_close_after_work_cb()
69 static uv_work_t req; in TEST_IMPL()
H A Dtest-metrics.c267 static void fs_work_cb(uv_work_t* req) { in fs_work_cb()
271 static void fs_after_work_cb(uv_work_t* req, int status) { in fs_after_work_cb()
278 uv_work_t* work1 = malloc(sizeof(*work1)); in fs_write_cb()
279 uv_work_t* work2 = malloc(sizeof(*work2)); in fs_write_cb()
H A Dtest-fork.c688 static void work_cb(uv_work_t* req) { in work_cb()
693 static void after_work_cb(uv_work_t* req, int status) { in after_work_cb()
700 uv_work_t work_req; in assert_run_work()
/libuv/docs/code/queue-cancel/
H A Dmain.c9 uv_work_t fib_reqs[FIB_UNTIL];
18 void fib(uv_work_t *req) { in fib()
28 void after_fib(uv_work_t *req, int status) { in after_fib()
/libuv/docs/src/
H A Dthreadpool.rst34 .. c:type:: uv_work_t
38 .. c:type:: void (*uv_work_cb)(uv_work_t* req)
43 .. c:type:: void (*uv_after_work_cb)(uv_work_t* req, int status)
53 .. c:member:: uv_loop_t* uv_work_t.loop
64 .. c:function:: int uv_queue_work(uv_loop_t* loop, uv_work_t* req, uv_work_cb work_cb, uv_after_wor…
H A Drequest.rst76 :c:type:`uv_getnameinfo_t`, :c:type:`uv_random_t` and :c:type:`uv_work_t`
87 * A :c:type:`uv_work_t`, :c:type:`uv_getaddrinfo_t`,
/libuv/src/
H A Dthreadpool.c349 uv_work_t* req = container_of(w, uv_work_t, work_req); in uv__queue_work()
356 uv_work_t* req; in uv__queue_done()
358 req = container_of(w, uv_work_t, work_req); in uv__queue_done()
369 uv_work_t* req, in uv_queue_work()
410 loop = ((uv_work_t*) req)->loop; in uv_cancel()
411 wreq = &((uv_work_t*) req)->work_req; in uv_cancel()
/libuv/docs/src/guide/
H A Dutilities.rst139 ``uv_work_t.data`` to point to it. A slight variation is to have the
140 ``uv_work_t`` itself as the first member of this struct (called a baton [#]_).
148 uv_work_t req;
175 void ftp_session(uv_work_t *req) {
181 void ftp_cleanup(uv_work_t *req) {
H A Dthreads.rst219 run in a separate thread. The ``uv_work_t`` structure is the clue. You can pass
234 ``uv_work_t`` structure and once the function returns, the *after* function
H A Dbasics.rst176 typedef struct uv_work_s uv_work_t;
/libuv/include/
H A Duv.h247 typedef struct uv_work_s uv_work_t; typedef
344 typedef void (*uv_work_cb)(uv_work_t* req);
345 typedef void (*uv_after_work_cb)(uv_work_t* req, int status);
1178 uv_work_t* req,

Completed in 30 milliseconds