pub type Dart_ThreadStartCallback = Option<unsafe extern "C" fn()>;
Expand description

A thread start callback function. This callback, provided by the embedder, is called after a thread in the vm thread pool starts. This function could be used to adjust thread priority or attach native resources to the thread.

Aliased Type§

enum Dart_ThreadStartCallback {
    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.