Hello,
I would like to have thread (A) call ldap_search( ld, ....) and have a
thread (B) call ldap_result( ld, ...) with timeout=NULL, to collect
results for any msg_id. The key point here is that the threads share the
same ldap decriptor.
I would have to make sure that:
1) ldap_search() and ldap_result() are synchronized (if there is a
need for this).
2) While in thread (B), ldap_result() blocks on select() waiting for
TCP data, it does not hold any mutex that would make ldap_search(ld,...)
block.
Is this possible with version 2.0.7, please?
Thank you in advance.
Regards,
T. Alexiou