DragonFly-2.3.1.585.g0490f master include pthread.h lib/libc/gen

看板DFBSD_commit作者時間16年前 (2009/07/07 05:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0490f0583e23a5d0860f4b90dbb23f3e5e517e09 Author: Hasso Tepper <hasso@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
文章代碼(AID): #1AKcrOhf (DFBSD_commit)