Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n-api: detect deadlocks in thread-safe function #32689

Closed

Commits on Apr 9, 2020

  1. n-api: detect deadlocks in thread-safe function

    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.
    
    PR-URL: nodejs#32689
    Fixes: nodejs#32615
    Signed-off-by: Gabriel Schulhof <[email protected]>
    Gabriel Schulhof committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    e5c61e8 View commit details
    Browse the repository at this point in the history