diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 14:53:08 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 14:53:08 +0000 |
commit | 2b83b41438a0a93bb81e1f0dcccb0c00f296acad (patch) | |
tree | 2f8eb5248bf2d821a0dd0649912f1d1f52ee14bd /sys/kern/init_main.c | |
parent | 0a5c3d637a02717a6229b338874adf5546c66bda (diff) | |
download | FreeBSD-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/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index a014988..6cb5017 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -414,6 +414,7 @@ struct sysentvec null_sysvec = { .sv_fetch_syscall_args = null_fetch_syscall_args, .sv_syscallnames = NULL, .sv_schedtail = NULL, + .sv_thread_detach = NULL, }; /* |