pa_simple_free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 7, 2011 at 7:15 PM, patrick <puredata at 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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux