23 #ifndef NATIVE_SCHED_H
24 #define NATIVE_SCHED_H
37 #define __CPU_SETSIZE 1024
38 #define __NCPUBITS (8 * sizeof(__cpu_mask))
39 typedef unsigned long int __cpu_mask;
41 __cpu_mask __bits[__CPU_SETSIZE / __NCPUBITS];
50 puts(
"[ERROR] sched_yield called (defined in sched.h)\n");
int sched_yield(void)
Compilation with g++ may require the declaration of this function.
stdio wrapper to extend the C libs stdio