[python-ldap] SyncreplConsumer running in parallel with other application
michael at stroeder.com
Fri Jan 8 10:56:30 EST 2016
David Gabriel wrote:
> After some investigation in the source code I think the function 'result4'
> located in the file ldapobject.py is the responsible of this blocking
1. Please note that I personally do not feel responsible for the code *fork* on
2. You did not tell us any other relevant details like
- Python version
- python-ldap version (from where?)
- whether python-ldap is linked against libldap_r etc.
While method LDAPObject.result4() is called in a blocking manner it's IMHO
likely not the cause for your code not being executed in parallel.
Frankly I don't see any reason why it's not possible to run the blocking
syncrepl client code in one thread and having other code running in separate
It might help if you would post a *small* code example with threads illustrating
what you're trying to achieve and which shows your blocking issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
More information about the python-ldap