pub unsafe extern "C" fn GC_thread_is_registered() -> c_intExpand description
Return 1 (true) if the calling (current) thread is registered with the garbage collector, 0 otherwise. Acquires the allocator lock in the reader mode. If the thread is finished (e.g. running in a destructor and not registered manually again), then it is considered as not registered.