|
@@ -76,6 +76,7 @@ void free(void *);
|
|
|
|
|
|
typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t;
|
|
typedef struct cpu_set_t { unsigned long __bits[128/sizeof(long)]; } cpu_set_t;
|
|
int __sched_cpucount(size_t, const cpu_set_t *);
|
|
int __sched_cpucount(size_t, const cpu_set_t *);
|
|
|
|
+int sched_getcpu(void);
|
|
int sched_getaffinity(pid_t, size_t, cpu_set_t *);
|
|
int sched_getaffinity(pid_t, size_t, cpu_set_t *);
|
|
int sched_setaffinity(pid_t, size_t, const cpu_set_t *);
|
|
int sched_setaffinity(pid_t, size_t, const cpu_set_t *);
|
|
|
|
|