Here is a stripped down version of my class that can be used to reproduce the bug. Compile and test with:
$ g++ -g -Wall -lavahi-client -o test registration.cpp $ ./test On Wed, May 13, 2009 at 12:31 PM, Gaspard Bucher <[email protected]> wrote: > As I understand "avahi_threaded_poll_start", the new thread should be > running if the return value is 0. > > What I get: > > return value = 0 > threaded_poll->thread_running = 0 > > But the thread is in fact running since the service registration works > and I see the thread in gdb. > > Reading the source code in thread-watch.c, this seems impossible... > > I discovered the problem because "avahi_threaded_poll_stop" would > return -1 and the poll thread would keep on running. > > Any clue ? C++ related ? > > Gaspard >
registration.cpp
Description: Binary data
_______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
