"Sync" threading libaries.
authorHasso Tepper <hasso@estpak.ee>
Mon, 6 Jul 2009 21:11:04 +0000 (00:11 +0300)
committerHasso Tepper <hasso@estpak.ee>
Mon, 6 Jul 2009 21:13:18 +0000 (00:13 +0300)
commit0490f0583e23a5d0860f4b90dbb23f3e5e517e09
tree2d5624364ea3206778a144ea03d90d5a5137ce69
parent2790b77a2df7077eaaea2cf1d87e6b811e724e94
"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.
include/pthread.h
lib/libc/gen/_pthread_stubs.c
lib/libc/gen/sysconf.c
lib/libc_r/uthread/Makefile.inc
lib/libc_r/uthread/uthread_stubs.c [new file with mode: 0644]
lib/libthread_xu/thread/Makefile.inc
lib/libthread_xu/thread/thr_pspinlock.c
sys/sys/_pthreadtypes.h
sys/sys/unistd.h