[Date Prev][Date Next]
Re: Question about Multithreading in OpenLDAP
I'm also NOT very clearly about how to implement Multi-threaded Client.
The folowing is my design. Please give me some comments.
There are two threads in the application. One is used to send request,
the other is used to receive the ANY response. The
ldap_set_option(),ldap_init() and bind function are invoked in the thread
which is used to send request, then creat another thread which is used to
receive the ANY response. The ldap lib is ldap_r.
Is it right? Is there any example?
Thank you very much! Wainting for your kind replay!
use ldap_r lib. And how to use the lib in multithread.
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Question about Multithreading in OpenLDAP
Date: Tue, 31 May 2005 11:28:54 -0700
At 08:29 AM 5/31/2005, firstname.lastname@example.org wrote:
> I get your mail address from openldap mail-list.
> I just start to learn openldap sourcecode. I am puzzled that how to
> Is there any doccument talk about it?
Not that I recall. Likely something that should find its
way into the FAQ.
>And any other reference?
> Thank you very much! Wainting for your kind replay!
>与联机的朋友进行交流，请使用 MSN Messenger: http://messenger.msn.com/cn
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com