Date: Tue, 24 Mar 2009 20:57:10 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/include pthread.h pthread_np.h src/lib/libc/gen Symbol.map dlfcn.c src/lib/libc/include libc_private.h src/lib/libc/stdlib Symbol.map malloc.c src/lib/libthr Makefile pthread.map src/lib/libthr/arch/amd64/include pthread_md.h ... Message-ID: <200903242101.n2OL1JjH001660@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2009-03-24 20:57:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
include pthread.h pthread_np.h
lib/libc/gen Symbol.map dlfcn.c
lib/libc/include libc_private.h
lib/libc/stdlib Symbol.map malloc.c
lib/libthr Makefile pthread.map
lib/libthr/arch/amd64/include pthread_md.h
lib/libthr/arch/i386 Makefile.inc
lib/libthr/thread Makefile.inc thr_attr.c thr_clean.c
thr_create.c thr_event.c thr_exit.c
thr_fork.c thr_init.c thr_mutex.c
thr_once.c thr_private.h thr_pspinlock.c
thr_resume_np.c thr_rtld.c thr_sem.c
thr_sig.c thr_spinlock.c thr_suspend_np.c
thr_syscalls.c thr_umtx.c thr_umtx.h
libexec/rtld-elf Symbol.map rtld.c rtld_lock.c rtld_lock.h
sys/kern kern_thr.c kern_umtx.c
sys/sys umtx.h
Added files: (Branch: RELENG_7)
lib/libthr/thread thr_affinity.c thr_getcpuclockid.c
Log:
SVN rev 190393 on 2009-03-24 20:57:10Z by kib
Mostly synchronize lib/libthr and sys/kern/kern_umtx.c with the code
from HEAD.
Since libkse is still built on RELENG_7, pthread_cleanup_push/pop
are left as the functions, but the support code in libthr is present for
the macro versions.
Malloc in RELENG_7 does not require thread exit hook, but I decided
to add empty handler for it, instead of removing callback from thr_exit().
No mergeinfo since this change is prepared by patching libthr and then
bringing in required missed bits.
Requested by: bms
Reviewed by: davidxu
Tested by: bms, Mykola Dzham <i levsha org ua>
Approved by: re (kensmith)
Revision Changes Path
1.40.2.2 +9 -0 src/include/pthread.h
1.16.2.1 +13 -4 src/include/pthread_np.h
1.6.2.2 +2 -0 src/lib/libc/gen/Symbol.map
1.14.2.1 +12 -0 src/lib/libc/gen/dlfcn.c
1.17.2.2 +6 -0 src/lib/libc/include/libc_private.h
1.6.2.1 +1 -0 src/lib/libc/stdlib/Symbol.map
1.147.2.6 +11 -0 src/lib/libc/stdlib/malloc.c
1.28.2.1 +8 -4 src/lib/libthr/Makefile
1.4.2.2 +1 -1 src/lib/libthr/arch/amd64/include/pthread_md.h
1.2.10.3 +1 -1 src/lib/libthr/arch/i386/Makefile.inc
1.18.2.2 +26 -9 src/lib/libthr/pthread.map
1.16.2.1 +2 -0 src/lib/libthr/thread/Makefile.inc
1.4.2.1 +82 -0 src/lib/libthr/thread/thr_affinity.c (new)
1.8.2.1 +93 -1 src/lib/libthr/thread/thr_attr.c
1.5.2.1 +39 -16 src/lib/libthr/thread/thr_clean.c
1.36.2.2 +37 -5 src/lib/libthr/thread/thr_create.c
1.2.2.1 +2 -2 src/lib/libthr/thread/thr_event.c
1.23.2.1 +15 -18 src/lib/libthr/thread/thr_exit.c
1.8.2.1 +15 -1 src/lib/libthr/thread/thr_fork.c
1.1.2.1 +47 -0 src/lib/libthr/thread/thr_getcpuclockid.c (new)
1.46.2.2 +5 -5 src/lib/libthr/thread/thr_init.c
1.54.2.4 +192 -197 src/lib/libthr/thread/thr_mutex.c
1.5.2.2 +29 -33 src/lib/libthr/thread/thr_once.c
1.78.2.5 +25 -21 src/lib/libthr/thread/thr_private.h
1.5.2.1 +1 -1 src/lib/libthr/thread/thr_pspinlock.c
1.11.2.1 +1 -1 src/lib/libthr/thread/thr_resume_np.c
1.3.4.4 +36 -70 src/lib/libthr/thread/thr_rtld.c
1.9.2.2 +33 -13 src/lib/libthr/thread/thr_sem.c
1.23.2.3 +12 -3 src/lib/libthr/thread/thr_sig.c
1.15.2.1 +6 -6 src/lib/libthr/thread/thr_spinlock.c
1.8.2.2 +1 -1 src/lib/libthr/thread/thr_suspend_np.c
1.16.2.2 +6 -9 src/lib/libthr/thread/thr_syscalls.c
1.12.2.3 +65 -15 src/lib/libthr/thread/thr_umtx.c
1.10.2.3 +17 -12 src/lib/libthr/thread/thr_umtx.h
1.5.2.1 +2 -0 src/libexec/rtld-elf/Symbol.map
1.124.2.4 +2 -0 src/libexec/rtld-elf/rtld.c
1.4.2.3 +16 -0 src/libexec/rtld-elf/rtld_lock.c
1.2.20.2 +3 -0 src/libexec/rtld-elf/rtld_lock.h
1.62.2.2 +1 -1 src/sys/kern/kern_thr.c
1.61.2.4 +262 -95 src/sys/kern/kern_umtx.c
1.29.2.2 +11 -7 src/sys/sys/umtx.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903242101.n2OL1JjH001660>
