Home
last modified time | relevance | path

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

123

/third_party/libuv/src/win/
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()
Dinternal.h209 void uv__async_close(uv_loop_t* loop, uv_async_t* handle);
210 void uv__async_endgame(uv_loop_t* loop, uv_async_t* handle);
212 void uv__process_async_wakeup_req(uv_loop_t* loop, uv_async_t* handle,
/third_party/libuv/src/unix/
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()
/third_party/libuv/test/
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()
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()
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()
Dtest-async.c31 static uv_async_t async;
78 static void async_cb(uv_async_t* handle) { in async_cb()
Dtest-embed.c60 static uv_async_t embed_async;
94 static void embed_cb(uv_async_t* async) { in embed_cb()
Dbenchmark-sizes.c37 fprintf(stderr, "uv_async_t: %u bytes\n", (unsigned int) sizeof(uv_async_t)); in BENCHMARK_IMPL()
/third_party/node/src/tracing/
Dnode_trace_buffer.h64 static void NonBlockingFlushSignalCb(uv_async_t* signal);
65 static void ExitSignalCb(uv_async_t* signal);
68 uv_async_t flush_signal_;
69 uv_async_t exit_signal_;
Dnode_trace_writer.h40 static void ExitSignalCb(uv_async_t* signal);
44 uv_async_t flush_signal_;
46 uv_async_t exit_signal_;
Dnode_trace_buffer.cc164 void NodeTraceBuffer::NonBlockingFlushSignalCb(uv_async_t* signal) { in NonBlockingFlushSignalCb()
175 void NodeTraceBuffer::ExitSignalCb(uv_async_t* signal) { in ExitSignalCb()
184 reinterpret_cast<uv_async_t*>(signal)); in ExitSignalCb()
190 reinterpret_cast<uv_async_t*>(signal)); in ExitSignalCb()
Dnode_trace_writer.cc20 [](uv_async_t* signal) { in InitializeOnThread()
218 void NodeTraceWriter::ExitSignalCb(uv_async_t* signal) { in ExitSignalCb()
226 reinterpret_cast<uv_async_t*>(signal)); in ExitSignalCb()
232 reinterpret_cast<uv_async_t*>(signal)); in ExitSignalCb()
/third_party/libuv/docs/src/
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)
/third_party/libuv/docs/code/progress/
Dmain.c8 uv_async_t async;
31 void print_progress(uv_async_t *handle) { in print_progress()
/third_party/node/test/addons/worker-addon/
Dbinding.cc48 static uv_async_t extra_async; in Initialize()
50 int err = uv_async_init(loop, &extra_async, [](uv_async_t*) {}); in Initialize() argument
/third_party/node/test/node-api/test_async_cleanup_hook/
Dbinding.c12 uv_async_t async;
30 static void AfterCleanupHookOne(uv_async_t* async) { in AfterCleanupHookOne()
/third_party/node/test/addons/async-cleanup-hook/
Dbinding.cc10 uv_async_t async;
21 int err = uv_async_init(loop, &data->async, [](uv_async_t* async) { in AsyncCleanupHook()
/third_party/node/src/
Dnode_win32_etw_provider.cc39 static uv_async_t dispatch_etw_events_change_async;
128 void etw_events_change_async(uv_async_t* handle) { in etw_events_change_async()
Dnode_watchdog.h60 uv_async_t async_;
106 uv_async_t handle_;
Dnode_platform.cc92 static void FlushTasks(uv_async_t* flush_tasks) { in FlushTasks()
162 uv_async_t flush_tasks_;
225 flush_tasks_ = new uv_async_t(); in PerIsolatePlatformData()
236 void PerIsolatePlatformData::FlushTasks(uv_async_t* handle) { in FlushTasks()
308 std::unique_ptr<uv_async_t> flush_tasks { in Shutdown()
309 reinterpret_cast<uv_async_t*>(handle) }; in Shutdown()
Dinspector_io.cc103 int err = uv_async_init(loop, &async_, [](uv_async_t* async) { in RequestQueueData()
159 uv_async_t async_;
379 uv_async_t* async = reinterpret_cast<uv_async_t*>(handle); in CloseAndFree()
Dnode_platform.h89 static void FlushTasks(uv_async_t* handle);
105 uv_async_t* flush_tasks_ = nullptr;
Dmemory_tracker.h226 const uv_async_t& value,
229 const uv_async_t& value,
/third_party/libuv/include/uv/
Ddarwin.h50 uv_async_t* cf_cb; \

123