cvs commit: src/sys/sys kse.h src/sys/kern kern_sig.c kern_thread.c subr_trap.c

David Xu davidxu at freebsd.org
Sun Jun 15 05:58:23 PDT 2003


----- Original Message -----=20
From: "David Xu" <davidxu at FreeBSD.org>
To: <src-committers at FreeBSD.org>; <cvs-src at FreeBSD.org>; =
<cvs-all at 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



More information about the cvs-src mailing list