Home
last modified time | relevance | path

Searched refs:uv_async_t (Results 1 – 25 of 29) sorted by relevance

12

/libuv/src/win/
H A Dasync.c31 void uv__async_endgame(uv_loop_t* loop, uv_async_t* handle) { in uv__async_endgame()
40 int uv_async_init(uv_loop_t* loop, uv_async_t* handle, uv_async_cb async_cb) { in uv_async_init()
57 void uv__async_close(uv_loop_t* loop, uv_async_t* handle) { in uv__async_close()
58 if (!((uv_async_t*)handle)->async_sent) { in uv__async_close()
66 int uv_async_send(uv_async_t* handle) { in uv_async_send()
86 void uv__process_async_wakeup_req(uv_loop_t* loop, uv_async_t* handle, in uv__process_async_wakeup_req()
H A Dinternal.h204 void uv__async_close(uv_loop_t* loop, uv_async_t* handle);
205 void uv__async_endgame(uv_loop_t* loop, uv_async_t* handle);
207 void uv__process_async_wakeup_req(uv_loop_t* loop, uv_async_t* handle,
H A Dhandle.c124 uv__async_close(loop, (uv_async_t*) handle); in uv_close()
H A Dhandle-inl.h140 uv__async_endgame(loop, (uv_async_t*) handle); in uv__process_endgames()
H A Dreq-inl.h189 uv__process_async_wakeup_req(loop, (uv_async_t*) req->data, req); in uv__process_reqs()
/libuv/src/unix/
H A Dasync.c74 int uv_async_init(uv_loop_t* loop, uv_async_t* handle, uv_async_cb async_cb) { in uv_async_init()
93 int uv_async_send(uv_async_t* handle) { in uv_async_send()
120 static void uv__async_spin(uv_async_t* handle) { in uv__async_spin()
153 void uv__async_close(uv_async_t* handle) { in uv__async_close()
165 uv_async_t* h;
195 h = uv__queue_data(q, uv_async_t, queue);
329 uv_async_t* h;
340 h = uv__queue_data(q, uv_async_t, queue);
363 uv_async_t* h;
371 h = uv__queue_data(q, uv_async_t, queue);
H A Dinternal.h320 void uv__async_close(uv_async_t* handle);
H A Dstream.c51 uv_async_t async;
234 static void uv__stream_osx_select_cb(uv_async_t* handle) { in uv__stream_osx_select_cb()
/libuv/test/
H A Dbenchmark-async-pummel.c39 static void async_cb(uv_async_t* handle) { in async_cb()
54 uv_async_t* handle = (uv_async_t*) arg; in pummel()
67 uv_async_t handle; in test_async_pummel()
H A Dbenchmark-million-async.c28 uv_async_t async_handles[1024 * 1024];
53 static void async_cb(uv_async_t* handle) { in async_cb()
66 uv_async_t* handle = container->async_handles + i; in timer_cb()
81 uv_async_t* handle; in BENCHMARK_IMPL()
H A Dbenchmark-async.c33 uv_async_t main_async; /* wake up main thread */
34 uv_async_t worker_async; /* wake up worker */
43 static void worker_async_cb(uv_async_t* handle) { in worker_async_cb()
55 static void main_async_cb(uv_async_t* handle) { in main_async_cb()
H A Dtest-embed.c32 static uv_async_t async;
43 static void async_cb(uv_async_t* handle) { in async_cb()
H A Dtest-async.c31 static uv_async_t async;
78 static void async_cb(uv_async_t* handle) { in async_cb()
H A Dbenchmark-sizes.c37 fprintf(stderr, "uv_async_t: %u bytes\n", (unsigned int) sizeof(uv_async_t)); in BENCHMARK_IMPL()
H A Dtest-async-null-cb.c26 static uv_async_t async_handle;
H A Dbenchmark-multi-accept.c70 uv_async_t async_handle;
93 static void sv_async_cb(uv_async_t* handle);
282 static void sv_async_cb(uv_async_t* handle) { in sv_async_cb()
H A Dtest-ref.c122 uv_async_t h; in TEST_IMPL()
/libuv/docs/src/
H A Dasync.rst4 :c:type:`uv_async_t` --- Async handle
14 .. c:type:: uv_async_t
18 .. c:type:: void (*uv_async_cb)(uv_async_t* handle)
34 .. c:function:: int uv_async_init(uv_loop_t* loop, uv_async_t* async, uv_async_cb async_cb)
43 .. c:function:: int uv_async_send(uv_async_t* async)
/libuv/docs/code/progress/
H A Dmain.c8 uv_async_t async;
31 void print_progress(uv_async_t *handle) { in print_progress()
/libuv/include/uv/
H A Ddarwin.h50 uv_async_t* cf_cb; \
H A Dunix.h230 uv_async_t wq_async; \
H A Dwin.h362 uv_async_t wq_async;
/libuv/src/
H A Dthreadpool.c308 void uv__work_done(uv_async_t* handle) { in uv__work_done()
H A Duv-common.h215 void uv__work_done(uv_async_t* handle);
/libuv/include/
H A Duv.h232 typedef struct uv_async_s uv_async_t; typedef
337 typedef void (*uv_async_cb)(uv_async_t* handle);
943 uv_async_t* async,
945 UV_EXTERN int uv_async_send(uv_async_t* async);

Completed in 39 milliseconds

12