https://bugs.openldap.org/show_bug.cgi?id=8871

--- Comment #5 from [email protected] <[email protected]> ---
Thanks for the explanation.  What you are saying is that operations over same
connection needs to be serialized among threads if not doing what you
suggested.  Is that correct?  So if the application needs to do different
operations over same connection among thread it needs to do the following:

 do async operation
 get fd
 do select/poll on the fd
 do ldap_result with 0 timeout


And since every operation involves ldap_send_initial_request even the timeout
value specified for the operation itself has to be reasonable short enough to
prevent same lock situation.  For most part we can use different connections to
perform various operations among threads except cancel has to be done over same
connection. Is that assumption correct?

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to