Home
last modified time | relevance | path

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

/libuv/docs/src/
H A 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
/libuv/test/
H A Dbenchmark-async.c46 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()
H A Dtest-async-null-cb.c34 uv_async_send(&async_handle); in thread_cb()
H A Dtest-embed.c39 ASSERT_OK(uv_async_send(&async)); in thread_main()
H A Dtest-async.c51 r = uv_async_send(&async); in thread_cb()
H A Dbenchmark-async-pummel.c57 uv_async_send(handle); in pummel()
H A Dbenchmark-million-async.c48 uv_async_send(container->async_handles + i); in thread_cb()
H A Dbenchmark-multi-accept.c412 uv_async_send(&ctx->async_handle); in test_tcp()
/libuv/docs/src/guide/
H A 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 …]
/libuv/docs/code/progress/
H A Dmain.c18 uv_async_send(&async); in fake_download()
/libuv/src/win/
H A Dasync.c66 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
/libuv/src/
H A Dthreadpool.c128 uv_async_send(&w->loop->wq_async); in worker()
301 uv_async_send(&loop->wq_async); in uv__work_cancel()
/libuv/src/unix/
H A Dasync.c65 int uv_async_send(uv_async_t* handle) { in uv_async_send() function
H A Dfsevents.c210 uv_async_send(handle->cf_cb); in uv__fsevents_push_event()
H A Dstream.c224 uv_async_send(&s->async); in uv__stream_osx_select()
/libuv/include/
H A Duv.h945 UV_EXTERN int uv_async_send(uv_async_t* async);
/libuv/
H A DChangeLog673 * 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 39 milliseconds