Searched refs:napi_threadsafe_function (Results 1 – 7 of 7) sorted by relevance
/third_party/node/src/ |
D | node_api.h | 226 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);
|
D | node_api.cc | 1313 napi_threadsafe_function* result) { in napi_create_threadsafe_function() 1358 *result = reinterpret_cast<napi_threadsafe_function>(ts_fn); in napi_create_threadsafe_function() 1366 napi_threadsafe_function func, void** result) { in napi_get_threadsafe_function_context() 1375 napi_call_threadsafe_function(napi_threadsafe_function func, in napi_call_threadsafe_function() 1384 napi_acquire_threadsafe_function(napi_threadsafe_function func) { in napi_acquire_threadsafe_function() 1390 napi_threadsafe_function func, napi_threadsafe_function_release_mode mode) { in napi_release_threadsafe_function() 1396 napi_unref_threadsafe_function(napi_env env, napi_threadsafe_function func) { in napi_unref_threadsafe_function() 1402 napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func) { in napi_ref_threadsafe_function()
|
D | node_api_types.h | 10 typedef struct napi_threadsafe_function__* napi_threadsafe_function; typedef
|
/third_party/node/test/node-api/test_threadsafe_function/ |
D | binding.c | 14 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()
|
/third_party/node/test/node-api/test_instance_data/ |
D | test_instance_data.c | 9 napi_threadsafe_function tsfn;
|
/third_party/node/doc/api/ |
D | n-api.md | 635 ### `napi_threadsafe_function` 6120 These APIs provide the type `napi_threadsafe_function` as well as APIs to 6128 Upon creation of a `napi_threadsafe_function` a `napi_finalize` callback can be 6162 creating the `napi_threadsafe_function`, and the next data pointer that was 6181 Threads can be added to and removed from a `napi_threadsafe_function` object 6188 `napi_threadsafe_function` objects are destroyed when every thread which uses 6192 `napi_threadsafe_function` is destroyed. `napi_release_threadsafe_function()` 6194 `napi_threadsafe_function`, because after the call completes, there is no 6195 guarantee that the `napi_threadsafe_function` is still allocated. For the same 6199 `napi_threadsafe_function` can be freed in its `napi_finalize` callback which [all …]
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V11.md | 1202 …* The `napi_threadsafe_function` feature is now stable. [nodejs/node#25556](https://github.com/nod…
|