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

Re: Question about Multithreading in OpenLDAP



Dear Kurt,

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!


From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
To: <sparklezou@hotmail.com>
CC: OpenLDAP-software@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, sparklezou@hotmail.com wrote:
>Dear All,
>
> I get your mail address from openldap mail-list.
>
> I just start to learn openldap sourcecode. I am puzzled that how to
use ldap_r lib. And how to use the lib in multithread.
>
>   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?

http://www.openldap.org/lists/openldap-software/200401/msg01076.html


> Thank you very much! Wainting for your kind replay! > > >Best Regards, > >SparkleZou > >_________________________________________________________________ >与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com