summaryrefslogtreecommitdiffstats
path: root/include/sched.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:12:49 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:12:49 +0000
commit56c9c9494bc8f9ff5840b7fc44d724234d9ced74 (patch)
tree52b7b3f84238e91f164ab591aab773d23455e2bf /include/sched.h
parenta4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f (diff)
downloaduClibc-alpine-56c9c9494bc8f9ff5840b7fc44d724234d9ced74.tar.bz2
uClibc-alpine-56c9c9494bc8f9ff5840b7fc44d724234d9ced74.tar.xz
Add in function declarations and bit fields for new NPTL clone support.
Diffstat (limited to 'include/sched.h')
-rw-r--r--include/sched.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sched.h b/include/sched.h
index e476928be..9ed13b10c 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -62,6 +62,12 @@ extern int sched_get_priority_min (int __algorithm) __THROW;
/* Get the SCHED_RR interval for the named process. */
extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
+/* These are Linux specific. */
+extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
+ int __flags, void *__arg, ...);
+extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
+ size_t __child_stack_size, int __flags, void *__arg, ...);
+
__END_DECLS
#endif /* sched.h */