Skip to main content

miniextendr_runtime_init

Function miniextendr_runtime_init 

Source
#[doc(hidden)]
#[unsafe(no_mangle)]
pub extern "C-unwind" fn miniextendr_runtime_init()
Expand description

Initialize the miniextendr runtime.

Records the main thread ID and (with worker-thread) spawns the worker. Must be called from R’s main thread, typically from R_init_<pkgname>.