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()),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn())

Some value of type T.