cvs commit: src/lib/libpthread Makefile src/lib/libpthread/test thr_concurrency.cthr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.c ...

Scott Long scottl at freebsd.org
Fri Jul 18 13:51:01 PDT 2003


David and all,

Thanks for all of the good work here!

There has been a grwoing question of which threading package will be
made 'default' for 5.x.  The main requirement is that the default
threading package be supported on all Tier-1 platforms.  Right now,
only libc_r meets that requirement.  Here's a quick table from
memory, please correct me if I'm wrong:

         i386  alpha  sparc64  ia64
c_r       X     X       X       X
kse       X                     X
thr       X             X       X

Don't forget that amd64 is up-and-coming also.

Scott


David Xu wrote:
> davidxu     2003/07/17 16:02:30 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libpthread       Makefile 
>     lib/libpthread/test  sigsuspend_d.c 
>     lib/libpthread/thread thr_cancel.c thr_concurrency.c 
>                           thr_create.c thr_find_thread.c 
>                           thr_init.c thr_kern.c thr_nanosleep.c 
>                           thr_private.h thr_sig.c thr_sigmask.c 
>                           thr_sigpending.c thr_sigsuspend.c 
>                           thr_sigwait.c thr_yield.c 
>   Log:
>   o Eliminate upcall for PTHREAD_SYSTEM_SCOPE thread, now it
>     is system bound thread and when it is blocked, no upcall is generated.
>   
>   o Add ability to libkse to allow it run in pure 1:1 threading mode,
>     defining SYSTEM_SCOPE_ONLY in Makefile can turn on this option.
>   
>   o Eliminate code for installing dummy signal handler for sigwait call.
>   
>   o Add hash table to find thread.
>   
>   Reviewed by: deischen
>   
>   Revision  Changes    Path
>   1.47      +4 -0      src/lib/libpthread/Makefile
>   1.2       +2 -0      src/lib/libpthread/test/sigsuspend_d.c
>   1.25      +5 -3      src/lib/libpthread/thread/thr_cancel.c
>   1.4       +1 -1      src/lib/libpthread/thread/thr_concurrency.c
>   1.48      +25 -17    src/lib/libpthread/thread/thr_create.c
>   1.13      +11 -13    src/lib/libpthread/thread/thr_find_thread.c
>   1.57      +11 -5     src/lib/libpthread/thread/thr_init.c
>   1.78      +217 -104  src/lib/libpthread/thread/thr_kern.c
>   1.22      +3 -2      src/lib/libpthread/thread/thr_nanosleep.c
>   1.92      +13 -9     src/lib/libpthread/thread/thr_private.h
>   1.62      +235 -136  src/lib/libpthread/thread/thr_sig.c
>   1.16      +9 -0      src/lib/libpthread/thread/thr_sigmask.c
>   1.15      +3 -2      src/lib/libpthread/thread/thr_sigpending.c
>   1.21      +5 -2      src/lib/libpthread/thread/thr_sigsuspend.c
>   1.31      +50 -101   src/lib/libpthread/thread/thr_sigwait.c
>   1.13      +8 -0      src/lib/libpthread/thread/thr_yield.c
> 




More information about the cvs-src mailing list