Searched refs:target_mask (Results 1 – 1 of 1) sorted by relevance
209 cpu_set_t *target_mask = CPU_ALLOC(ncpus); in pin_thread_imp() local210 ASSERT(target_mask, nullptr); in pin_thread_imp()211 CPU_ZERO_S(size, target_mask); in pin_thread_imp()212 CPU_SET_S(mapped_idx, size, target_mask); in pin_thread_imp()213 const int err = sched_setaffinity(0, size, target_mask); in pin_thread_imp()216 CPU_FREE(target_mask); in pin_thread_imp()