[Date Prev][Date Next]
Re: More about libldap locking
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.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/