Function grpcio_sys::gpr_cpu_current_cpu [−][src]
pub unsafe extern "C" fn gpr_cpu_current_cpu() -> c_uint
Return the CPU on which the current thread is executing; N.B. This should be considered advisory only - it is possible that the thread is switched to a different CPU at any time. Returns a value in range [0, gpr_cpu_num_cores() - 1]