Home
last modified time | relevance | path

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

/libuv/test/
H A Dbenchmark-queue-work.c35 static void work_cb(uv_work_t* req) { in work_cb() function
43 ASSERT_OK(uv_queue_work(req->loop, req, work_cb, after_work_cb)); in after_work_cb()
61 ASSERT_OK(uv_queue_work(loop, &work, work_cb, after_work_cb)); in BENCHMARK_IMPL()
H A Dtest-loop-alive.c34 static void work_cb(uv_work_t* req) { in work_cb() function
58 r = uv_queue_work(uv_default_loop(), &work_req, work_cb, after_work_cb); in TEST_IMPL()
H A Dtest-threadpool.c31 static void work_cb(uv_work_t* req) { in work_cb() function
50 r = uv_queue_work(uv_default_loop(), &work_req, work_cb, after_work_cb); in TEST_IMPL()
H A Dtest-threadpool-cancel.c57 static void work_cb(uv_work_t* req) { in work_cb() function
81 ASSERT_OK(uv_queue_work(loop, pause_reqs + i, work_cb, done_cb)); in saturate_threadpool()
H A Dtest-fork.c688 static void work_cb(uv_work_t* req) { in work_cb() function
706 r = uv_queue_work(loop, &work_req, work_cb, after_work_cb); in assert_run_work()
/libuv/src/
H A Dthreadpool.c351 req->work_cb(req); in uv__queue_work()
370 uv_work_cb work_cb, in uv_queue_work() argument
372 if (work_cb == NULL) in uv_queue_work()
377 req->work_cb = work_cb; in uv_queue_work()
/libuv/docs/src/
H A Dthreadpool.rst64 .. c:function:: int uv_queue_work(uv_loop_t* loop, uv_work_t* req, uv_work_cb work_cb, uv_after_wor…
66 Initializes a work request which will run the given `work_cb` in a thread
67 from the threadpool. Once `work_cb` is completed, `after_work_cb` will be
/libuv/include/
H A Duv.h1172 uv_work_cb work_cb; member
1179 uv_work_cb work_cb,

Completed in 30 milliseconds