diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 14:37:45 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2015-05-24 14:37:45 +0000 |
commit | 09baafb4710eb0c3da528e4f834f2054532a900d (patch) | |
tree | 1e17e76cd5c42a141d883856f35f17d26364af34 /sys/sys | |
parent | 95be6d2b1fc49af54828a5c3484a8a89b4f75649 (diff) | |
download | src-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.h | 1 |
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); |