]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#9045 rlock only if there may be other threads
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 23 Jan 2023 11:48:33 +0000 (11:48 +0000)
committerOndřej Kuzník <ondra@mistotebe.net>
Mon, 23 Jan 2023 11:53:36 +0000 (11:53 +0000)
commit12bf5a95ba99571d744ea36c9b2251f2e9b09f01
tree3bf28a3d6919313778767c78131461b3e240331f
parent5ccbe6324623bc96819db78cefa92f50e2581490
ITS#9045 rlock only if there may be other threads

We can't rlock if we've registered ourselves as a writer. We can only
figure that out by checking if we're the thread that initiated the
pause: is the server paused already?
include/ldap_pvt_thread.h
libraries/libldap/tpool.c
servers/slapd/bconfig.c