Home
last modified time | relevance | path

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

12

/netbsd-src/external/mit/libuv/dist/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.h214 void uv__async_close(uv_loop_t* loop, uv_async_t* handle);
215 void uv__async_endgame(uv_loop_t* loop, uv_async_t* handle);
217 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()
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dasync.c45 int uv_async_init(uv_loop_t* loop, uv_async_t* handle, uv_async_cb async_cb) { in uv_async_init()
63 int uv_async_send(uv_async_t* handle) { in uv_async_send()
84 static int uv__async_spin(uv_async_t* handle) { in uv__async_spin()
115 void uv__async_close(uv_async_t* handle) { in uv__async_close()
127 uv_async_t* h; in uv__async_io()
152 h = QUEUE_DATA(q, uv_async_t, queue); in uv__async_io()
H A Dinternal.h267 void uv__async_close(uv_async_t* handle);
H A Dstream.c51 uv_async_t async;
224 static void uv__stream_osx_select_cb(uv_async_t* handle) { in uv__stream_osx_select_cb()
/netbsd-src/external/mit/libuv/dist/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()
66 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()
80 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-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 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 Dtest-ref.c122 uv_async_t h; in TEST_IMPL()
/netbsd-src/external/mit/libuv/dist/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)
/netbsd-src/external/mit/libuv/dist/docs/code/progress/
H A Dmain.c8 uv_async_t async;
31 void print_progress(uv_async_t *handle) { in print_progress()
/netbsd-src/external/mit/libuv/dist/include/uv/
H A Ddarwin.h50 uv_async_t* cf_cb; \
H A Dunix.h231 uv_async_t wq_async; \
H A Dwin.h360 uv_async_t wq_async;
/netbsd-src/external/mit/libuv/dist/include/
H A Duv.h226 typedef struct uv_async_s uv_async_t; typedef
326 typedef void (*uv_async_cb)(uv_async_t* handle);
871 uv_async_t* async,
873 UV_EXTERN int uv_async_send(uv_async_t* async);
/netbsd-src/external/mit/libuv/dist/src/
H A Duv-common.h211 void uv__work_done(uv_async_t* handle);
H A Dthreadpool.c300 void uv__work_done(uv_async_t* handle) { in uv__work_done()

12