Searched refs:thread_mask (Results 1 – 2 of 2) sorted by relevance
19 const size_t thread_mask = THREAD_ALIGN - 1; in start_thread() local25 stack_size = (stack_size + thread_mask) & ~thread_mask; in start_thread()
427 bool WorkerThread::BindToCpus(const cpu_set_t *thread_mask) { in BindToCpus() argument430 if (cpuset_isequal(thread_mask, &process_mask)) in BindToCpus()435 if (!cpuset_issubset(thread_mask, &process_mask)) { in BindToCpus()438 cpuset_format(thread_mask).c_str(), in BindToCpus()443 return (sched_setaffinity(gettid(), sizeof(*thread_mask), thread_mask) == 0); in BindToCpus()