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.

Fixes nodejs#312.

[1] https://github.com/nodejs/node/tree/master/test/node-api/test_threadsafe_function
  • Loading branch information
romandev committed Jun 14, 2019
1 parent ab7d8fc commit 30b1087
Show file tree
Hide file tree
Showing 7 changed files with 955 additions and 0 deletions.
Loading

0 comments on commit 30b1087

Please sign in to comment.