Skip to content

Commit

Permalink
Implement ThreadSafeFunction class
Browse files Browse the repository at this point in the history
This PR is implementing ThreadSafeFunction class wraps
napi_threadsafe_function features.

FYI, the test files that included in this PR have come from Node.js
repo[1]. They've been rewritten based on C++ and node-addon-api.

[1] https://github.com/nodejs/node/tree/e800f9d/test/node-api/test_threadsafe_function

PR-URL: nodejs/node-addon-api#442
Fixes: nodejs/node-addon-api#312
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
  • Loading branch information
Marlyfleitas committed Jul 10, 2019
1 parent 2eb0db1 commit a859f6b
Show file tree
Hide file tree
Showing 7 changed files with 949 additions and 0 deletions.
Loading

0 comments on commit a859f6b

Please sign in to comment.