Date: Sun, 15 Jun 2003 21:01:28 +0800 From: "David Xu" <davidxu@freebsd.org> To: <src-committers@freebsd.org>, <cvs-src@freebsd.org>, <cvs-all@freebsd.org> Subject: Re: cvs commit: src/sys/sys kse.h src/sys/kern kern_sig.c kern_thread.c subr_trap.c Message-ID: <000901c3333e$3e804b10$0701a8c0@tiger> References: <200306151251.h5FCpQZJ002962@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=20 From: "David Xu" <davidxu@FreeBSD.org> To: <src-committers@FreeBSD.org>; <cvs-src@FreeBSD.org>; = <cvs-all@FreeBSD.org> Sent: Sunday, June 15, 2003 8:51 PM Subject: cvs commit: src/sys/sys kse.h src/sys/kern kern_sig.c = kern_thread.c subr_trap.c > davidxu 2003/06/15 05:51:26 PDT >=20 > FreeBSD src repository >=20 > Modified files: > sys/sys kse.h=20 > sys/kern kern_sig.c kern_thread.c subr_trap.c=20 > Log: > 1. Add code to support bound thread. when blocked, a bound thread = never > schedules an upcall. Signal delivering to a bound thread is same = as > non-threaded process. This is intended to be used by libpthread = to > implement PTHREAD_SCOPE_SYSTEM thread. > 2. Simplify kse_release() a bit, remove sleep loop. > =20 > Revision Changes Path > 1.243 +1 -1 src/sys/kern/kern_sig.c > 1.142 +63 -55 src/sys/kern/kern_thread.c > 1.257 +1 -1 src/sys/kern/subr_trap.c > 1.15 +1 -0 src/sys/sys/kse.h >=20 Patch for libpthread to test bound thread is here: http://people.freebsd.org/~davidxu/libpthread_bound.diff Don't expect signal will work, it still needs to be addressed. I have kernel side code and libpthread signal code here, but not fully workable. David Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c3333e$3e804b10$0701a8c0>