On Thu, Apr 7, 2011 at 7:15 PM, patrick <pured...@11h11.com> wrote: > more informations about our problem: > > in thread-mainloop.c > > void pa_threaded_mainloop_stop(pa_threaded_mainloop *m) { > ... > // freeze here: > pa_mutex_lock(m->mutex); > ... > } > > what would be the cause? it stop at pa_mutex_lock(m->mutex). what can i do > to fix this problem? any advice is more than welcome.
Are your calling pa_threaded_mainloop_stop() while the mainloop is locked? IOW, did you call pa_threaded_mainloop_lock() without pa_threaded_mainloop_unlock() before? Quoting the documentation: > void pa_threaded_mainloop_stop ( pa_threaded_mainloop * > m ) > Terminate the event loop thread cleanly. > Make sure to unlock the mainloop object before calling this function. Daniel _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss