summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 14:38:29 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 14:38:29 +0000
commita07a85c065f084d084b8a1a0d5a42e79c99962e6 (patch)
treefa944b9dafea989b875d8e1543561621be0ab22b /sys/sys
parentb18ea4d2a0bcd9dbc2f21c20535204945cedf82d (diff)
downloadFreeBSD-src-a07a85c065f084d084b8a1a0d5a42e79c99962e6.zip
FreeBSD-src-a07a85c065f084d084b8a1a0d5a42e79c99962e6.tar.gz
MFC r283373:
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().
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 665752a..bdb2500 100644
--- a/sys/sys/syscallsubr.h
+++ b/sys/sys/syscallsubr.h
@@ -246,6 +246,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);
OpenPOWER on IntegriCloud