Skip to main content

lean_initialize_thread

Function lean_initialize_thread 

Source
pub unsafe extern "C" fn lean_initialize_thread()
Expand description

Attach the current OS thread to the Lean runtime so it may invoke compiled Lean code. Each thread that calls into Lean must pair this with lean_finalize_thread before exiting.