Searched refs:uv_async_send (Results 1 – 17 of 17) sorted by relevance
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_OK(uv_async_send(&ctx->main_async)); in worker_async_cb()58 ASSERT_OK(uv_async_send(&ctx->worker_async)); in main_async_cb()69 ASSERT_OK(uv_async_send(&ctx->main_async)); in worker()
34 uv_async_send(&async_handle); in thread_cb()
39 ASSERT_OK(uv_async_send(&async)); in thread_main()
51 r = uv_async_send(&async); in thread_cb()
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 …]
18 uv_async_send(&async); in fake_download()
66 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
128 uv_async_send(&w->loop->wq_async); in worker()301 uv_async_send(&loop->wq_async); in uv__work_cancel()
65 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
210 uv_async_send(handle->cf_cb); in uv__fsevents_push_event()
224 uv_async_send(&s->async); in uv__stream_osx_select()
945 UV_EXTERN int uv_async_send(uv_async_t* async);
673 * unix: remove busy loop from uv_async_send (Jameson Nash)2185 * unix: fix race condition in uv_async_send() (Ben Noordhuis)2189 * doc: mark uv_async_send() as async-signal-safe (Ben Noordhuis)4530 * doc: clarify how uv_async_send behaves (Saúl Ibarra Corretgé)
Completed in 79 milliseconds