I'm trying to understand the purpose of HAVE_DD_LOCK. It seems to me either the library is multi-threaded, in which case the locking functionality described in libc/include/sys/lock.h must be provided and not locking is a bug, or the library is single-threaded, in which case, the locking primitives a no-ops. Thanks,