I've read the example code but I can't seem to find the exit condition(s) for the threaded poll.
Any clues?
I've read the example code but I can't seem to find the exit condition(s) for the threaded poll.
Any clues?
Copyright © 2021 Jogjafile Inc.
It looks like the threaded loop will be running as long as you don't call:
avahi_threaded_poll_stop(threaded_poll)
from the main loop (or..._quit
from inside the helper thread) . You may want to do so when the client callback returnsAVAHI_CLIENT_FAILURE
. (see client exemple)Is that why you asked?