Type Alias dart_sys::Dart_ThreadExitCallback
source · pub type Dart_ThreadExitCallback = Option<unsafe extern "C" fn()>;
Expand description
A thread death callback function. This callback, provided by the embedder, is called before a thread in the vm thread pool exits. This function could be used to dispose of native resources that are associated and attached to the thread, in order to avoid leaks.
Aliased Type§
enum Dart_ThreadExitCallback {
None,
Some(unsafe extern "C" fn()),
}