diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 14:36:44 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 14:36:44 +0000 |
commit | b18ea4d2a0bcd9dbc2f21c20535204945cedf82d (patch) | |
tree | 98fa8640a63947fa2fcf8fa5a612218e56aeaa30 /sys/sys | |
parent | 994d3d588922f9f69ec5ae11759551398228bf1a (diff) | |
download | FreeBSD-src-b18ea4d2a0bcd9dbc2f21c20535204945cedf82d.zip FreeBSD-src-b18ea4d2a0bcd9dbc2f21c20535204945cedf82d.tar.gz |
MFC r283372:
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.
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 397a21a..665752a 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_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, |