Searched refs:work_cb (Results 1 – 8 of 8) sorted by relevance
/libuv/test/ |
H A D | benchmark-queue-work.c | 35 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 D | test-loop-alive.c | 34 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 D | test-threadpool.c | 31 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 D | test-threadpool-cancel.c | 57 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 D | test-fork.c | 688 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 D | threadpool.c | 351 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 D | threadpool.rst | 64 .. 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 D | uv.h | 1172 uv_work_cb work_cb; member 1179 uv_work_cb work_cb,
|
Completed in 21 milliseconds