From owner-cvs-src-old@FreeBSD.ORG Tue Mar 24 21:01:19 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D82DF106566C for ; Tue, 24 Mar 2009 21:01:19 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C1C808FC0A for ; Tue, 24 Mar 2009 21:01:19 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2OL1JsX001661 for ; Tue, 24 Mar 2009 21:01:19 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2OL1JjH001660 for cvs-src-old@freebsd.org; Tue, 24 Mar 2009 21:01:19 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200903242101.n2OL1JjH001660@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Tue, 24 Mar 2009 20:57:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 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 ... X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 21:01:20 -0000 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 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