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:

  if (timeout > 0)
    return 0;

;-)

Thanks,
Ludovic.
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to