OSDN Git Service

add cpu affinity interfaces
authorRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2013 01:15:11 +0000 (21:15 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 11 Aug 2013 01:15:11 +0000 (21:15 -0400)
commiteeb0328f203cfb8990b3eee5ee31d931fc539ceb
tree99558d1b944c1cf76f33faab7e294c72480a7328
parent76fbf6ad4bb2f697512a1541d296c1f749e3b504
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.
include/sched.h
src/sched/sched_cpucount.c [new file with mode: 0644]
src/sched/sched_getaffinity.c [new file with mode: 0644]
src/sched/sched_setaffinity.c [new file with mode: 0644]