pub fn get_thread_count() -> c_int
Get the number of active threads (for compatibility).
Returns the number of active threads, or 0 if unknown. This is a compatibility stub — upstream doesn’t expose this directly.