[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8638) Recursive mutex in libldap_r



> IMO using recursive mutexes means your code is broken. We introduced these for
> accesslog.c but in fact we could avoid them at zero cost. Also I don't see the
> relevance of libevent to this discussion. We use our own event mechanism and
> it is more efficient than libevent.

libevent is a dependency for the load balancer that I intend to propose
for integration into the project after all the relevant dependencies
have come in.

There is a new version of this patch that provides an implementation on
each platform or defers to the existing one (as per each platform's
documentation). Untested except on POSIX and most of them seem pretty
arcane anyway.

ftp://ftp.openldap.org/incoming/Ondrej-Kuznik-20170918-ITS8638-libldap_r-recursive-mutex.patch

-- 
OndÅ?ej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP