Date: Mon, 21 Jun 2004 20:53:31 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 55474 for review Message-ID: <200406212053.i5LKrVaU026873@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=55474 Change 55474 by julian@julian_ref on 2004/06/21 20:52:32 make the last thread in exit also be inactive. Affected files ... .. //depot/projects/nsched/sys/kern/kern_thread.c#25 edit Differences ... ==== //depot/projects/nsched/sys/kern/kern_thread.c#25 (text+ko) ==== @@ -610,7 +610,6 @@ ksegrp_unlink(kg); } - td->td_state = TDS_INACTIVE; #if 0 td->td_proc = NULL; #endif @@ -620,6 +619,7 @@ sched_set_concurrancy(kg, 1); } } + td->td_state = TDS_INACTIVE; PROC_UNLOCK(p); cpu_throw(td, choosethread(SW_VOL)); panic("I'm a teapot!");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406212053.i5LKrVaU026873>