Skip to main content

R_gc_running

Function R_gc_running 

Source
pub unsafe fn R_gc_running() -> c_int
Expand description

Check if the garbage collector is currently running.

Returns non-zero if GC is in progress. Checked wrapper for R_gc_running. Calls R_gc_running_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2123, column 12. Generated from source file miniextendr-api/src/sys.rs.