[Date Prev][Date Next] [Chronological] [Thread] [Top]

LDAP Client library and multithreading



Has anyone successfully gotten the client code
to work in a multithreading app? In particular
I call ldap_search() then call ldap_search_s()
from the main thread. A secondary thread calls
nsldapi_result_nolock() directly bypassing
ldap_result() with the msgid set to LDAP_RES_ANY.
The code doen't seem to be setup to handle a
situation like this.

The reason I am doing this is to provide an extension
were the client can get callbacks to a callback function.
--
-
J. R. Heisey