Date: Sat, 10 Jul 2004 14:30:09 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 56963 for review Message-ID: <200407101430.i6AEU90N028075@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=56963 Change 56963 by davidxu@davidxu_alona on 2004/07/10 14:29:55 Check bound thread. Affected files ... .. //depot/projects/davidxu_ksedbg/src/lib/libpthread/thread/thr_kern.c#5 edit Differences ... ==== //depot/projects/davidxu_ksedbg/src/lib/libpthread/thread/thr_kern.c#5 (text+ko) ==== @@ -2541,6 +2541,7 @@ * is cleared by debugger, the flag will be cleared in next * suspension event. */ - if (curthread->tcb->tcb_tmbx.tm_dflags & TMDF_DONOTRUNUSER) + if ((curthread->attr.flags & PTHREAD_SCOPE_SYSTEM) == 0 && + (curthread->tcb->tcb_tmbx.tm_dflags & TMDF_DONOTRUNUSER)) _thr_sched_switch(curthread); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407101430.i6AEU90N028075>