Searched refs:napi_threadsafe_function (Results 1 – 7 of 7) sorted by relevance
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);
10 typedef struct napi_threadsafe_function__* napi_threadsafe_function; typedef
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()
40 napi_threadsafe_function tsfn; in CallIntoModule()
9 napi_threadsafe_function tsfn;
613 ### `napi_threadsafe_function`6176 These APIs provide the type `napi_threadsafe_function` as well as APIs to6184 Upon creation of a `napi_threadsafe_function` a `napi_finalize` callback can be6218 creating the `napi_threadsafe_function`, and the next data pointer that was6237 Threads can be added to and removed from a `napi_threadsafe_function` object6244 `napi_threadsafe_function` objects are destroyed when every thread which uses6248 `napi_threadsafe_function` is destroyed. `napi_release_threadsafe_function()`6250 `napi_threadsafe_function`, because after the call completes, there is no6251 guarantee that the `napi_threadsafe_function` is still allocated. For the same6255 `napi_threadsafe_function` can be freed in its `napi_finalize` callback which[all …]
1202 …* The `napi_threadsafe_function` feature is now stable. [nodejs/node#25556](https://github.com/nod…