aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 14:37:45 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2015-05-24 14:37:45 +0000
commit09baafb4710eb0c3da528e4f834f2054532a900d (patch)
tree1e17e76cd5c42a141d883856f35f17d26364af34 /sys/sys
parent95be6d2b1fc49af54828a5c3484a8a89b4f75649 (diff)
downloadsrc-09baafb4710eb0c3da528e4f834f2054532a900d.tar.gz
src-09baafb4710eb0c3da528e4f834f2054532a900d.zip
In preparation for switching linuxulator to the use the native 1:1
threads introduce kern_thr_alloc() which will be used later in the linux_clone(). Differential Revision: https://reviews.freebsd.org/D1029 Reviewed by: trasz
Notes
Notes: svn path=/head/; revision=283373
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/syscallsubr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/syscallsubr.h b/sys/sys/syscallsubr.h
index 8d62eaa4608b..4954e465c934 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -214,6 +214,7 @@ int kern_ktimer_settime(struct thread *td, int timer_id, int flags,
int kern_ktimer_gettime(struct thread *td, int timer_id,
struct itimerspec *val);
int kern_ktimer_getoverrun(struct thread *td, int timer_id);
+int kern_thr_alloc(struct proc *, int pages, struct thread **);
int kern_thr_exit(struct thread *td);
int kern_thr_new(struct thread *td, struct thr_param *param);
int kern_thr_suspend(struct thread *td, struct timespec *tsp);