Home
last modified time | relevance | path

Searched refs:napi_threadsafe_function (Results 1 – 7 of 7) sorted by relevance

/third_party/node/src/
Dnode_api.h226 napi_threadsafe_function* result);
229 napi_get_threadsafe_function_context(napi_threadsafe_function func,
233 napi_call_threadsafe_function(napi_threadsafe_function func,
238 napi_acquire_threadsafe_function(napi_threadsafe_function func);
241 napi_release_threadsafe_function(napi_threadsafe_function func,
245 napi_unref_threadsafe_function(napi_env env, napi_threadsafe_function func);
248 napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
Dnode_api_types.h10 typedef struct napi_threadsafe_function__* napi_threadsafe_function; typedef
/third_party/node/test/node-api/test_threadsafe_function/
Dbinding.c14 static napi_threadsafe_function ts_fn;
30 napi_threadsafe_function ts_fn = data; in secondary_thread()
40 napi_threadsafe_function ts_fn = data; in data_source_thread()
294 napi_threadsafe_function tsfn; in CallIntoModule()
Dtest_uncaught_exception.c40 napi_threadsafe_function tsfn; in CallIntoModule()
/third_party/node/test/node-api/test_instance_data/
Dtest_instance_data.c9 napi_threadsafe_function tsfn;
/third_party/node/doc/api/
Dn-api.md613 ### `napi_threadsafe_function`
6176 These APIs provide the type `napi_threadsafe_function` as well as APIs to
6184 Upon creation of a `napi_threadsafe_function` a `napi_finalize` callback can be
6218 creating the `napi_threadsafe_function`, and the next data pointer that was
6237 Threads can be added to and removed from a `napi_threadsafe_function` object
6244 `napi_threadsafe_function` objects are destroyed when every thread which uses
6248 `napi_threadsafe_function` is destroyed. `napi_release_threadsafe_function()`
6250 `napi_threadsafe_function`, because after the call completes, there is no
6251 guarantee that the `napi_threadsafe_function` is still allocated. For the same
6255 `napi_threadsafe_function` can be freed in its `napi_finalize` callback which
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md1202 …* The `napi_threadsafe_function` feature is now stable. [nodejs/node#25556](https://github.com/nod…