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

node-api: faster threadsafe_function #38506

Closed

Commits on May 2, 2021

  1. node-api: faster threadsafe_function

    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
    indutny committed May 2, 2021
    Copy the full SHA
    42ccd43 View commit details
    Browse the repository at this point in the history
  2. simplify

    indutny committed May 2, 2021
    Copy the full SHA
    9835c84 View commit details
    Browse the repository at this point in the history