[ answering both emails in this thread here ]
if standard posix locking/sync primitives are available they gonna
be used by default so there is no need to overwrite them. prldap
maps its own abstraction primitives there for you. libprldap errno
and ld err get/set handlers are thread aware and safe. with plain
libldap you either do proper locking around get/set *errno or give
it your own callbacks that provide per thread storage & retrieval.

Parag wrote:
Looking at libprldap sources it sounds like for my case (LDAP* not
concurrently shared with different threads) I just need to set
ltf_get{set}_errno and _get_thread_id.

Now it would be good if someone can confirm this...

Parag

_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to