Searched refs:affinity (Results 1 - 2 of 2) sorted by relevance

/barrelfish-master/lib/posixcompat/
H A Dpthreads_private.h10 cpuset_t affinity; member in struct:pthread_attr
H A Dpthreads.c129 if (CPU_ISSET(i, &(*attr)->affinity)) {
130 POSIXCOMPAT_DEBUG("pthread affinity: spawn new thread on core %zu\n", i);
195 CPU_ZERO(&(*attr)->affinity);
796 * The function sets the CPU affinity mask of the thread
803 * \retval EINVAL The affinity bit mask mask contains no processors that are
814 // TODO: Query octopus to check that the affinity mask is sane (EINVAL)!
815 memcpy(&(*attr)->affinity, cpuset, cpusetsize);

Completed in 34 milliseconds