>>>> "Darryl" == Darryl Okahata
<darrylo(a)sr.hp.com> writes:
Darryl> Oscar Figueiredo <Oscar.Figueiredo(a)di.epfl.ch> wrote:
> The problem boils down to a select function being interrupted
(errno=EINTR) i
> n
> a call to `ldap_result'.
Darryl> Which ldap libraries are you using? The low-level ldap code should
Darryl> handle EINTR during select() and restart. Looking over the source code,
Darryl> the UM-LDAP libraries appear to do so.
You're very right. Thanks a lot for pointing that out, I've been toying with
those libraries for months and I missed that !!! I guess it's because it's not
mentioned in the RFC but it's in the man pages, I should have seen it !
There's indeed an option in the LDAP API that restarts a select() call when
interrupted with EINTR. I activated it now and I do not need the
{slow_down,speed_up}_interrupt calls anymore...
Feel free to flame me... :-(
Oscar