Searched refs:uv_async_send (Results 1 – 25 of 34) sorted by relevance
12
43 .. 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 will59 yield an execution of the callback. For example: if :c:func:`uv_async_send` is called 561 :c:func:`uv_async_send` is called again after the callback was called, it will be called
46 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()
34 uv_async_send(&async_handle); in thread_cb()
51 r = uv_async_send(&async); in thread_cb()
88 uv_async_send(&embed_async); in embed_thread_runner()
57 uv_async_send(handle); in pummel()
48 uv_async_send(container->async_handles + i); in thread_cb()
412 uv_async_send(&ctx->async_handle); in test_tcp()
30 with the event loop (except using ``uv_async_send``).316 may be invoked immediately after ``uv_async_send`` is called in another318 multiple calls to ``uv_async_send`` and invoke your callback only once. The320 least once* after the call to ``uv_async_send``. If you have no pending321 calls to ``uv_async_send``, the callback won't be called. If you make two324 ``uv_async_send``. Your callback will never be called twice for just one335 for delivery with ``uv_async_send``. Remember: ``uv_async_send`` is also357 ``uv_async_send()`` is actually only meant to wake up the event loop. Use363 ``uv_async_send`` does.365 One use case where ``uv_async_send`` is required is when interoperating with[all …]
157 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()
70 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()
70 uv_async_send(&async_); in ~Watchdog()181 CHECK_EQ(uv_async_send(&handle_), 0); in HandleSigint()
890 uv_async_send(&start_io_thread_async); in RequestIoThreadStart()896 uv_async_send(&start_io_thread_async); in RequestIoThreadStart()
120 CHECK_EQ(0, uv_async_send(&async_)); in Post()
848 uv_async_send(&task_queues_async_); in SetImmediateThreadsafe()860 uv_async_send(&task_queues_async_); in RequestInterrupt()
116 uv_async_send(&exit_signal_); in ~NodeTraceBuffer()151 uv_async_send(&flush_signal_); // trigger flush on a separate thread in TryLoadAvailableBuffer()
56 uv_async_send(&exit_signal_); in ~NodeTraceWriter()150 int err = uv_async_send(&flush_signal_); in Flush()
129 uv_async_send(&initialize_writer_async_); in AddClient()
18 uv_async_send(&async); in fake_download()
66 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
44 uv_async_send(&data->async); in AsyncCleanupHook()
38 uv_async_send(&data->async); in AsyncCleanupHook()
128 uv_async_send(&w->loop->wq_async); in worker()293 uv_async_send(&loop->wq_async); in uv__work_cancel()
63 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
525 uv_async_send(&data->thread_stopped_async); in TEST_F()