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: #442
Fixes: #312
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
  • Loading branch information
romandev authored and Gabriel Schulhof committed Jul 10, 2019
1 parent 1fb540e commit 0a90df2
Show file tree
Hide file tree
Showing 7 changed files with 949 additions and 0 deletions.
Loading

0 comments on commit 0a90df2

Please sign in to comment.