public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Declare GNU-specific sched_getcpu()
@ 2018-08-07 12:40 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2018-08-07 12:40 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c233d42264846f11e1d99b6664c8394b3ff32a78
commit c233d42264846f11e1d99b6664c8394b3ff32a78
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Tue Aug 7 13:46:13 2018 +0200
Declare GNU-specific sched_getcpu()
This is a glibc extension.
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
newlib/libc/include/sched.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/newlib/libc/include/sched.h b/newlib/libc/include/sched.h
index 504ad52..1016235 100644
--- a/newlib/libc/include/sched.h
+++ b/newlib/libc/include/sched.h
@@ -90,6 +90,10 @@ int sched_yield( void );
#endif /* _POSIX_THREADS or _POSIX_PRIORITY_SCHEDULING */
+#if __GNU_VISIBLE
+int sched_getcpu(void);
+#endif
+
#ifdef __cplusplus
}
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-07 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 12:40 [newlib-cygwin] Declare GNU-specific sched_getcpu() Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).