DragonFly-2.3.1.585.g0490f master include pthread.h lib/libc/gen _pthread_stubs.c sysconf.c lib/libc_r/uthread Makefile.inc uthread_stubs.c lib/libthread_xu/thread Makefile.inc thr_pspinlock.c sys/sys _pthreadtypes.h unistd.h
Hasso Tepper
hasso at crater.dragonflybsd.org
Mon Jul 6 14:15:47 PDT 2009
commit 0490f0583e23a5d0860f4b90dbb23f3e5e517e09
Author: Hasso Tepper <hasso at estpak.ee>
Date: Tue Jul 7 00:11:04 2009 +0300
"Sync" threading libaries.
* Introduce stubs returning error into libc_r for functions which don't
exist there, but are there in libthread_xu.
* Compile POSIX spinlocks implementation in libthread_xu.
* Define _POSIX_BARRIERS and _POSIX_SPIN_LOCKS and modify sysconf(3)
accordingly.
Summary of changes:
include/pthread.h | 6 ++
lib/libc/gen/_pthread_stubs.c | 22 ++++++++
lib/libc/gen/sysconf.c | 4 --
lib/libc_r/uthread/Makefile.inc | 1 +
.../libc_r/uthread/uthread_stubs.c | 58 +++++++++++---------
lib/libthread_xu/thread/Makefile.inc | 1 +
lib/libthread_xu/thread/thr_pspinlock.c | 3 +-
sys/sys/_pthreadtypes.h | 2 +
sys/sys/unistd.h | 2 +
9 files changed, 67 insertions(+), 32 deletions(-)
copy sys/dev/acpica5/acpi_cpu_pstate.h => lib/libc_r/uthread/uthread_stubs.c (51%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0490f0583e23a5d0860f4b90dbb23f3e5e517e09
--
DragonFly BSD source repository
More information about the Commits
mailing list