#[unsafe(no_mangle)]pub extern "C" fn pxs_clearstate(gc_collect: bool)
Clear the current threads state for all languages.
Optionally, if you want to run the garbage collector.