Date: Fri, 17 Sep 2004 05:48:04 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 61665 for review Message-ID: <200409170548.i8H5m45m066047@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=61665 Change 61665 by julian@julian_ref on 2004/09/17 05:47:04 Catch an instance of using numthreads for libthr instead of the flag. Affected files ... .. //depot/projects/nsched/sys/kern/kern_thread.c#38 edit Differences ... ==== //depot/projects/nsched/sys/kern/kern_thread.c#38 (text+ko) ==== @@ -1057,7 +1057,7 @@ p = td->td_proc; mtx_assert(&sched_lock, MA_OWNED); - if (p->p_flag & P_SA || p->p_numthreads > 1) { + if (p->p_flag & P_HADTHREADS) { if ((p->p_flag & P_SINGLE_EXIT) && p->p_singlethread != td) return (EINTR); if (td->td_flags & TDF_INTERRUPT)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409170548.i8H5m45m066047>