I committed the change which "syncs" our threading libraries. As a result a lot of more features are available now in libpthread - barriers, spinlocks and some more:
pthread_attr_getguardsize pthread_attr_setguardsize pthread_barrier_destroy pthread_barrier_init pthread_barrier_wait pthread_barrierattr_destroy pthread_barrierattr_getpshared pthread_barrierattr_init pthread_barrierattr_setpshared pthread_condattr_getclock pthread_condattr_getpshared pthread_condattr_setclock pthread_condattr_setpshared pthread_mutex_timedlock pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_spin_init pthread_spin_destroy pthread_spin_trylock pthread_spin_lock pthread_spin_unlock pthread_timedjoin_np Note, that all this is really functional if you use libthread_xu only, libc_r has only stubs for these which always retun a failure. Please make sure that /usr/lib/libpthread.so.0 is a symlink to libthread_xu.so in your system. It's default and using libc_r isn't something you should do in production system anyway. libc_r is there for testing purposes only. I can also guarantee that it introduces at least some problems with building pkgsrc packages. There shouldn't be any problem running packages built before that change though. I'm in vacation next four weeks, so I'm not able to work on this much, but I hope to get most of pkgsrc in shape again (to fix failures in essential packages at least) during this week. -- Hasso Tepper