Declare GNU-specific sched_getcpu()
This is a glibc extension. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
b1952c03a8
commit
c233d42264
@ -90,6 +90,10 @@ int sched_yield( void );
|
|||||||
|
|
||||||
#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
|
#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
|
||||||
|
|
||||||
|
#if __GNU_VISIBLE
|
||||||
|
int sched_getcpu(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user