mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* sysdeps/unix/sysv/linux/bits/sched.h: Declare sched_getcpu.
* sysdeps/unix/sysv/linux/sched_getcpu.c: New file. * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: New file. * sysdeps/unix/sysv/linux/Versions: Export sched_getcpu for GLIBC_2.6.
This commit is contained in:
@ -77,6 +77,9 @@ extern int clone (int (*__fn) (void *__arg), void *__child_stack,
|
||||
|
||||
/* Unshare the specified resources. */
|
||||
extern int unshare (int __flags) __THROW;
|
||||
|
||||
/* Get index of currently used CPU. */
|
||||
extern int sched_getcpu (void) __THROW;
|
||||
#endif
|
||||
|
||||
__END_DECLS
|
||||
|
Reference in New Issue
Block a user