From 625f22fc7f8e0d61e3e6cff2c65468b91dbad426 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 3 Mar 2003 19:53:27 +0000 Subject: Update. 2003-03-03 Ian Wienand * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone flags. * include/sched.h: Update clone2 prototype. --- include/sched.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/sched.h b/include/sched.h index 291811a6d3..d6cd36f01d 100644 --- a/include/sched.h +++ b/include/sched.h @@ -15,8 +15,11 @@ extern int __sched_get_priority_min (int __algorithm); extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t); /* These are Linux specific. */ +struct user_desc; 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); + size_t __child_stack_size, int __flags, void *__arg, + __pid_t *__child_tid, __pid_t *__parent_tid, + struct user_desc *__tls); #endif -- cgit v1.2.3