Searched refs:async (Results 1 – 17 of 17) sorted by relevance
/libuv/docs/code/progress/ |
H A D | main.c | 8 uv_async_t async; variable 17 async.data = (void*) &percentage; in fake_download() 18 uv_async_send(&async); in fake_download() 28 uv_close((uv_handle_t*) &async, NULL); in after() 43 uv_async_init(loop, &async, print_progress); in main()
|
/libuv/test/ |
H A D | test-async.c | 31 static uv_async_t async; variable 51 r = uv_async_send(&async); in thread_cb() 81 ASSERT_PTR_EQ(handle, &async); in async_cb() 88 uv_close((uv_handle_t*)&async, close_cb); in async_cb() 108 TEST_IMPL(async) { in TEST_IMPL() argument 120 r = uv_async_init(uv_default_loop(), &async, async_cb); in TEST_IMPL()
|
H A D | test-embed.c | 32 static uv_async_t async; variable 39 ASSERT_OK(uv_async_send(&async)); in thread_main() 53 ASSERT_OK(uv_async_init(loop, &async, async_cb)); in TEST_IMPL()
|
H A D | test-list.h | 282 TEST_DECLARE (async) 924 TEST_ENTRY (async)
|
/libuv/docs/src/ |
H A D | async.rst | 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) 45 Wake up the event loop and call the async handle's callback. 54 …:c:func:`uv_async_send` is `async-signal-safe <https://man7.org/linux/man-pages/man7/signal-safety…
|
H A D | api.rst | 18 async
|
H A D | tty.rst | 110 This function is async signal-safe on Unix platforms but can fail with error
|
H A D | fs.rst | 7 libuv provides a wide variety of cross-platform sync and async file system
|
H A D | misc.rst | 689 [-AI] async 0x1a25cf0
|
/libuv/src/unix/ |
H A D | stream.c | 51 uv_async_t async; member 224 uv_async_send(&s->async); in uv__stream_osx_select() 239 s = container_of(handle, uv__stream_select_t, async); in uv__stream_osx_select_cb() 266 static void uv__stream_osx_cb_close(uv_handle_t* async) { in uv__stream_osx_cb_close() argument 269 s = container_of(async, uv__stream_select_t, async); in uv__stream_osx_cb_close() 346 err = uv_async_init(stream->loop, &s->async, uv__stream_osx_select_cb); in uv__stream_try_select() 350 s->async.flags |= UV_HANDLE_INTERNAL; in uv__stream_try_select() 351 uv__handle_unref(&s->async); in uv__stream_try_select() 388 uv_close((uv_handle_t*) &s->async, uv__stream_osx_cb_close); in uv__stream_try_select() 1526 uv_close((uv_handle_t*) &s->async, uv__stream_osx_cb_close); in uv__stream_close()
|
/libuv/ |
H A D | LINKS.md | 15 * [Igropyr](https://github.com/guenchi/Igropyr): a async Scheme http server base on libuv. 40 …s://github.com/scala-native/scala-native-loop): Extensible event loop and async-oriented IO for Sc… 104 …* [cl-async](https://github.com/orthecreedence/cl-async) Common Lisp async abstraction on top of c…
|
H A D | Makefile.am | 63 libuv_la_SOURCES += src/win/async.c \ 99 libuv_la_SOURCES += src/unix/async.c \ 159 test/test-async.c \ 160 test/test-async-null-cb.c \
|
H A D | CMakeLists.txt | 201 src/win/async.c 237 src/unix/async.c 501 test/benchmark-async-pummel.c 502 test/benchmark-async.c 507 test/benchmark-million-async.c 533 test/test-async-null-cb.c 534 test/test-async.c
|
H A D | ChangeLog | 35 * win,pipe: ipc code does not support async read (Jameson Nash) 206 * kqueue: use EVFILT_USER for async if available (Andy Pan) 1541 * unix: yield cpu when spinlocking on async handle (Ben Noordhuis) 2189 * doc: mark uv_async_send() as async-signal-safe (Ben Noordhuis) 2459 * test: fix test runner getenv async-signal-safety (Ben Noordhuis) 2461 * test: fix test runner execvp async-signal-safety (Ben Noordhuis) 3305 * unix: simplify async watcher dispatch logic (Ben Noordhuis) 4012 * unix: only undo fs req registration in async mode (Ben Noordhuis) 5121 * linux: reduce file descriptor count of async pipe (Ben Noordhuis) 5597 * unix: make uv_tty_reset_mode() async signal-safe (Ben Noordhuis) [all …]
|
/libuv/docs/src/guide/ |
H A D | threads.rst | 308 The async thread communication works *on loops* so although any thread can be 311 with the async watcher whenever it receives a message. 315 It is important to realize that since the message send is *async*, the callback 391 4. The async callback, invoked in the main loop thread, which is the v8 thread,
|
H A D | utilities.rst | 213 using the libuv event loop, and use the non-blocking, async multi_ interface to
|
/libuv/include/ |
H A D | uv.h | 163 XX(ASYNC, async) \ 943 uv_async_t* async, 945 UV_EXTERN int uv_async_send(uv_async_t* async);
|
Completed in 57 milliseconds