diff options
author | dchagin <dchagin@FreeBSD.org> | 2015-05-24 14:51:29 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2015-05-24 14:51:29 +0000 |
commit | ca0fda407756a0fda8db3d6d464117c2c88b48d0 (patch) | |
tree | 29e72220b49ea68b1cf3385e3c206b1a59e70098 /sys/sys/sysent.h | |
parent | 745df0287fcf54634f0950689d0ffaebcfed8d8c (diff) | |
download | FreeBSD-src-ca0fda407756a0fda8db3d6d464117c2c88b48d0.zip FreeBSD-src-ca0fda407756a0fda8db3d6d464117c2c88b48d0.tar.gz |
In preparation for switching linuxulator to the use the native 1:1
threads add a hook for cleaning thread resources before the thread die.
Differential Revision: https://reviews.freebsd.org/D1038
Diffstat (limited to 'sys/sys/sysent.h')
-rw-r--r-- | sys/sys/sysent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h index bef27ce..b1f61a9 100644 --- a/sys/sys/sysent.h +++ b/sys/sys/sysent.h @@ -136,6 +136,7 @@ struct sysentvec { uint32_t sv_timekeep_gen; void *sv_shared_page_obj; void (*sv_schedtail)(struct thread *); + void (*sv_thread_detach)(struct thread *); }; #define SV_ILP32 0x000100 |