mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
Invoke threadsafe_function during the same tick and avoid marshalling costs between threads and/or churning event loop if either: 1. There's a queued call already 2. `Push()` is called while the main thread was running threadsafe_function PR-URL: https://github.com/nodejs/node/pull/38506 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
|---|---|---|
| .. | ||
| 1_hello_world | ||
| test_async | ||
| test_async_cleanup_hook | ||
| test_async_context | ||
| test_buffer | ||
| test_callback_scope | ||
| test_cleanup_hook | ||
| test_env_teardown_gc | ||
| test_exception | ||
| test_fatal | ||
| test_fatal_exception | ||
| test_general | ||
| test_instance_data | ||
| test_make_callback | ||
| test_make_callback_recurse | ||
| test_null_init | ||
| test_policy | ||
| test_threadsafe_function | ||
| test_uv_loop | ||
| test_worker_buffer_callback | ||
| test_worker_terminate | ||
| test_worker_terminate_finalization | ||
| .gitignore | ||
| node-api.status | ||
| testcfg.py | ||