Home
last modified time | relevance | path

Searched refs:uv_async_send (Results 1 – 25 of 34) sorted by relevance

12

/third_party/libuv/docs/src/
Dasync.rst43 .. c:function:: int uv_async_send(uv_async_t* async)
54 …:c:func:`uv_async_send` is `async-signal-safe <https://man7.org/linux/man-pages/man7/signal-safety…
58 libuv will coalesce calls to :c:func:`uv_async_send`, that is, not every call to it will
59 yield an execution of the callback. For example: if :c:func:`uv_async_send` is called 5
61 :c:func:`uv_async_send` is called again after the callback was called, it will be called
/third_party/libuv/test/
Dbenchmark-async.c46 ASSERT(0 == uv_async_send(&ctx->main_async)); in worker_async_cb()
58 ASSERT(0 == uv_async_send(&ctx->worker_async)); in main_async_cb()
69 ASSERT(0 == uv_async_send(&ctx->main_async)); in worker()
Dtest-async-null-cb.c34 uv_async_send(&async_handle); in thread_cb()
Dtest-async.c51 r = uv_async_send(&async); in thread_cb()
Dtest-embed.c88 uv_async_send(&embed_async); in embed_thread_runner()
Dbenchmark-async-pummel.c57 uv_async_send(handle); in pummel()
Dbenchmark-million-async.c48 uv_async_send(container->async_handles + i); in thread_cb()
Dbenchmark-multi-accept.c412 uv_async_send(&ctx->async_handle); in test_tcp()
/third_party/libuv/docs/src/guide/
Dthreads.rst30 with the event loop (except using ``uv_async_send``).
316 may be invoked immediately after ``uv_async_send`` is called in another
318 multiple calls to ``uv_async_send`` and invoke your callback only once. The
320 least once* after the call to ``uv_async_send``. If you have no pending
321 calls to ``uv_async_send``, the callback won't be called. If you make two
324 ``uv_async_send``. Your callback will never be called twice for just one
335 for delivery with ``uv_async_send``. Remember: ``uv_async_send`` is also
357 ``uv_async_send()`` is actually only meant to wake up the event loop. Use
363 ``uv_async_send`` does.
365 One use case where ``uv_async_send`` is required is when interoperating with
[all …]
/third_party/node/src/
Dnode_win32_etw_provider.cc157 uv_async_send(&dispatch_etw_events_change_async); in etw_events_enable_callback()
162 uv_async_send(&dispatch_etw_events_change_async); in etw_events_enable_callback()
Dnode_platform.cc70 uv_async_send(&flush_tasks_); in PostDelayedTask()
75 uv_async_send(&flush_tasks_); in Stop()
252 uv_async_send(flush_tasks_); in PostTask()
267 uv_async_send(flush_tasks_); in PostDelayedTask()
Dnode_watchdog.cc70 uv_async_send(&async_); in ~Watchdog()
181 CHECK_EQ(uv_async_send(&handle_), 0); in HandleSigint()
Dinspector_agent.cc890 uv_async_send(&start_io_thread_async); in RequestIoThreadStart()
896 uv_async_send(&start_io_thread_async); in RequestIoThreadStart()
Dinspector_io.cc120 CHECK_EQ(0, uv_async_send(&async_)); in Post()
Denv-inl.h848 uv_async_send(&task_queues_async_); in SetImmediateThreadsafe()
860 uv_async_send(&task_queues_async_); in RequestInterrupt()
/third_party/node/src/tracing/
Dnode_trace_buffer.cc116 uv_async_send(&exit_signal_); in ~NodeTraceBuffer()
151 uv_async_send(&flush_signal_); // trigger flush on a separate thread in TryLoadAvailableBuffer()
Dnode_trace_writer.cc56 uv_async_send(&exit_signal_); in ~NodeTraceWriter()
150 int err = uv_async_send(&flush_signal_); in Flush()
Dagent.cc129 uv_async_send(&initialize_writer_async_); in AddClient()
/third_party/libuv/docs/code/progress/
Dmain.c18 uv_async_send(&async); in fake_download()
/third_party/libuv/src/win/
Dasync.c66 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
/third_party/node/test/node-api/test_async_cleanup_hook/
Dbinding.c44 uv_async_send(&data->async); in AsyncCleanupHook()
/third_party/node/test/addons/async-cleanup-hook/
Dbinding.cc38 uv_async_send(&data->async); in AsyncCleanupHook()
/third_party/libuv/src/
Dthreadpool.c128 uv_async_send(&w->loop->wq_async); in worker()
293 uv_async_send(&loop->wq_async); in uv__work_cancel()
/third_party/libuv/src/unix/
Dasync.c63 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
/third_party/node/test/cctest/
Dtest_environment.cc525 uv_async_send(&data->thread_stopped_async); in TEST_F()

12