add cpu affinity interfaces
this first commit just includes the CPU_* and sched_* interfaces, not the pthread_* interfaces, which may be added later. simple sanity-check testing has been done for the basic interfaces, but most of the macros have not yet been tested.
Showing
src/sched/sched_cpucount.c
0 → 100644
src/sched/sched_getaffinity.c
0 → 100644
src/sched/sched_setaffinity.c
0 → 100644
想要评论请 注册 或 登录