summaryrefslogtreecommitdiffstats
path: root/sys/sys/sysent.h
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 14:51:29 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 14:51:29 +0000
commitca0fda407756a0fda8db3d6d464117c2c88b48d0 (patch)
tree29e72220b49ea68b1cf3385e3c206b1a59e70098 /sys/sys/sysent.h
parent745df0287fcf54634f0950689d0ffaebcfed8d8c (diff)
downloadFreeBSD-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.h1
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
OpenPOWER on IntegriCloud