summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2016-01-09 14:53:08 +0000
committerdchagin <dchagin@FreeBSD.org>2016-01-09 14:53:08 +0000
commit2b83b41438a0a93bb81e1f0dcccb0c00f296acad (patch)
tree2f8eb5248bf2d821a0dd0649912f1d1f52ee14bd /sys/sys
parent0a5c3d637a02717a6229b338874adf5546c66bda (diff)
downloadFreeBSD-src-2b83b41438a0a93bb81e1f0dcccb0c00f296acad.zip
FreeBSD-src-2b83b41438a0a93bb81e1f0dcccb0c00f296acad.tar.gz
MFC r283382:
In preparation for switching linuxulator to the use the native 1:1 threads add a hook for cleaning thread resources before the thread die.
Diffstat (limited to 'sys/sys')
-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 c49db41..a93d552 100644
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -130,6 +130,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