summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_thr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 5f23f6d..6e277da 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -101,7 +101,9 @@ thr_exit1(void)
PROC_UNLOCK(p);
td->td_kse = NULL;
td->td_state = TDS_INACTIVE;
+#if 0
td->td_proc = NULL;
+#endif
td->td_ksegrp = NULL;
td->td_last_kse = NULL;
thread_stash(td);
OpenPOWER on IntegriCloud