mirror of https://github.com/nodejs/node.git
We introduce status `napi_would_deadlock` to be used as a return status by `napi_call_threadsafe_function` if the call is made with `napi_tsfn_blocking` on the main thread and the queue is full. Fixes: https://github.com/nodejs/node/issues/32615 Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com> PR-URL: https://github.com/nodejs/node/pull/32860 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> |
||
---|---|---|
.. | ||
1_hello_world | ||
test_async | ||
test_buffer | ||
test_callback_scope | ||
test_cleanup_hook | ||
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 | ||
.gitignore | ||
node-api.status | ||
testcfg.py |