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

Re: multi-processing




I am using it with the perl backend, since Perl has known problems with threads. So I need to use multithreading and put a semaphore into the code which calls the C-API. Or do you see another solution ?

Thx
Reinhard



"Howard Chu" <hyc@symas.com>

21-giu-2005 12:34

       
To
reinhard.e.voglmaier@gsk.com
cc
openldap-devel@OpenLDAP.org
Subject
Re: multi-processing





reinhard.e.voglmaier@gsk.com wrote:
>
> Having compiled openldap without thread support I made some testing
> and got *very* confused.
> My impression is that the switch --whithout-threads disables
> threading, but does not run using a multi-processing model.
> I mean the only way parallel processing can be done is via threads ?
> Is this correct ?
Yes.

The --without-threads option is generally pretty crippling. The only
reason to use it is if you must have back-shell support, or if you're
building on a platform that doesn't have a supported thread library.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support