diff options
author | dchagin <dchagin@FreeBSD.org> | 2015-05-24 14:36:33 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2015-05-24 14:36:33 +0000 |
commit | aa808515271af610d5e6fc4c1a12b83763077564 (patch) | |
tree | f6a30323f026cfe89722b979627ba30963645d56 /sys/sys/syscallsubr.h | |
parent | 497e0962582b86e2ff2e729a5d49cd7c2a1d79e8 (diff) | |
download | FreeBSD-src-aa808515271af610d5e6fc4c1a12b83763077564.zip FreeBSD-src-aa808515271af610d5e6fc4c1a12b83763077564.tar.gz |
In preparation for switching linuxulator to the use the native 1:1
threads split sys_thr_exit() up into sys_thr_exit() and kern_thr_exit().
Move
Where the second will be used in linux_exit() system call later.
Differential Revision: https://reviews.freebsd.org/D1028
Reviewed by: trasz
Diffstat (limited to 'sys/sys/syscallsubr.h')
-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 8d8c173..8d62eaa 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_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); int kern_truncate(struct thread *td, char *path, enum uio_seg pathseg, |