[diverted from -technical]
masarati(a)aero.polimi.it wrote:
> I'm having trouble in determining what mutex is related to what data in
> libldap's structures. For example, as far as I understand, lconn_refcnt
> in LDAPConn is tested and even modified without expressly locking any
> mutex. Logically, it seems to me that ld_conn_mutex should be the one.
> Could anybody please confirm this or provide insight?
I think this is a -devel thread.
The last time I looked, ld_res_mutex is always held when touching
lconn_refcnt. That was before your most recent commits.
Thanks. Just wanted to note that I didn't change anything so far, except
for checking mutex ownership when #ifdef LDAP_THREAD_DEBUG. Keep
investigating...
p.