Lines Matching refs:avahi_thread
79 static AvahiThreadedPoll *avahi_thread = NULL;
772 avahi_threaded_poll_quit (avahi_thread);
837 avahi_threaded_poll_quit (avahi_thread);
856 avahi_client = avahi_client_new (avahi_threaded_poll_get (avahi_thread), AVAHI_CLIENT_NO_FAIL, net_avahi_callback, NULL, &error);
860 avahi_threaded_poll_quit (avahi_thread);
867 avahi_threaded_poll_quit (avahi_thread);
879 avahi_thread = avahi_threaded_poll_new ();
880 if (avahi_thread == NULL)
886 avahi_client = avahi_client_new (avahi_threaded_poll_get (avahi_thread), AVAHI_CLIENT_NO_FAIL, net_avahi_callback, NULL, &error);
893 if (avahi_threaded_poll_start (avahi_thread) < 0)
911 if (avahi_thread)
913 avahi_threaded_poll_free (avahi_thread);
914 avahi_thread = NULL;
921 if (!avahi_thread)
926 avahi_threaded_poll_stop (avahi_thread);
934 avahi_threaded_poll_free (avahi_thread);
1046 avahi_threaded_poll_lock (avahi_thread);
1051 avahi_threaded_poll_unlock (avahi_thread);
1097 avahi_threaded_poll_lock (avahi_thread);
1102 avahi_threaded_poll_unlock (avahi_thread);
1520 avahi_threaded_poll_lock (avahi_thread);
1524 avahi_threaded_poll_unlock (avahi_thread);