Home
last modified time | relevance | path

Searched refs:thread_mask (Results 1 – 2 of 2) sorted by relevance

/external/syslinux/core/thread/
Dstart_thread.c19 const size_t thread_mask = THREAD_ALIGN - 1; in start_thread() local
25 stack_size = (stack_size + thread_mask) & ~thread_mask; in start_thread()
/external/stressapptest/src/
Dworker.cc427 bool WorkerThread::BindToCpus(const cpu_set_t *thread_mask) { in BindToCpus() argument
430 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()