9#ifndef SQUID_COMPAT_CPU_H
10#define SQUID_COMPAT_CPU_H
29#if !defined(CPU_SETSIZE)
34#define CPU_ZERO(set) (void)0
38#define CPU_SET(cpunum, cpuset) CpuSet(cpunum, cpuset)
43#define CPU_CLR(cpu, set) (void)0
46#if !defined(CPU_ISSET)
47#define CPU_ISSET(cpunum, cpuset) CpuIsSet(cpunum, cpuset)
53#define CPU_COUNT(set) CpuCount(set)
69#define CPU_AND(destset, srcset1, srcset2) CpuAnd((destset), (srcset1), (srcset2))
bool CpuIsSet(int, const cpu_set_t *)
#define CPU_ISSET(cpunum, cpuset)
int CpuCount(const cpu_set_t *set)
CPU_COUNT replacement.
void CpuSet(int, const cpu_set_t *)
#define CPU_CLR(cpu, set)
int sched_getaffinity(int, size_t, cpu_set_t *)
int sched_setaffinity(int, size_t, cpu_set_t *)
#define CPU_SET(cpunum, cpuset)
void CpuAnd(cpu_set_t *destset, const cpu_set_t *srcset1, const cpu_set_t *srcset2)
CPU_AND replacement.