#[doc(hidden)]#[unsafe(no_mangle)]pub extern "C-unwind" fn miniextendr_runtime_init()Expand description
Initialize the miniextendr runtime: record the calling thread as R’s main thread, and open there the channels that bring it the deferred conditions queued on other threads and the R exits dropped on them.
Must be called from R’s main thread, typically from R_init_<pkgname>.
Idempotent: later calls keep the first thread.