[python-ldap] SyncreplConsumer running in parallel with other application

David Gabriel davidgab283 at gmail.com
Thu Jan 7 10:06:55 EST 2016

Thanks Michael for your answer.
I tried to create one thread that executes the syncrepl application and
parallely I have other program (that does not deal with ldap) that I want
to run.
I think the 'syncrepl_poll' procedure is not asynchronous in such way that
allows other application to run at the same time.
Is it possible to replace 'syncrepl_poll' or update it to enable parallel

Thanks in advance.
Kind regards

2016-01-07 15:47 GMT+01:00 Michael Ströder <michael at stroeder.com>:

> David Gabriel wrote:
> > I am using this python application
> > <
> https://github.com/rbarrois/python-ldap/blob/master/Demo/pyasn1/syncrepl.py
> >
> Note that this is a rather basic demo.
> > and
> > I want run it parallely with other application.
> It's not entirely clear what you exactly mean.
> > The problem is that I am blocked in this procedure 'syncrepl_poll'.
> > In other words, when this procedure is called no other
> operation/procedure
> > is made !!
> > Could you please tell me how to use the aformentionned application
> without
> > having a blocking issue in 'syncrepl_poll' procedure.
> Simply use different LDAP connections.
> Ciao, Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160107/43b36f29/attachment.html>

More information about the python-ldap mailing list