On the other hand... Call this a low-priority ITS. I just noticed that OpenLDAP never uses the native rwlock-implementation (i.e. it never defines LDAP_THREAD_HAVE_RDWR). And it *is* safe to move rwlocks from the default implementation in libldap_r/rdwr.c. -- Hallvard