On 3/10/06, Ludovic Courtès <[EMAIL PROTECTED]> wrote:
> Hi,
>
> "Sebastien Estienne" <[EMAIL PROTECTED]> writes:
>
> > from the api docs: "If sleep_time > 0 the function will block for at
> > most the specified time in msecs."
> > so the attached callback have at most TIMEOUT msec to execute, it will
> > not always block till timeout.
>
> Sure, but it actually never does anything, even with TIMEOUT == INT_MAX.
> Additionally, given the relative complexity of the code, I think the
> intent was not to just mimic:

have you had a look at avahi-core/timeeventq-test.c ?
most of the time we use it with "-1"

>
>   if (timeout > 0)
>     return 0;
>
> ;-)
>
> Thanks,
> Ludovic.
> _______________________________________________
> avahi mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/avahi
>


--
Sebastien Estienne
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to