pub unsafe extern "C" fn thread_get_state( target_act: u32, flavor: i32, new_state: *mut u32, new_state_count: *mut u32 ) -> i32