gstreamer/gst-libs
Matthew Waters 9ad4c67578 glwindow: don't use g_thread_join() to join the navigation thread
Using g_thread_join() in _finalize() handlers may result in a deadlock
joining the current thread when the last reference is held by a signal
handler.

e.g.:

error 'Resource deadlock avoided' during 'pthread_join (pt->system_thread, NULL)'

The backtrace looks like this:
[...]
g_thread_join ()
gst_gl_window_finalize ()
gst_gl_window_x11_finalize ()
g_object_unref ()
g_value_unset ()
g_signal_emit_valist ()
g_signal_emit ()
gst_gl_window_send_mouse_event ()
gst_gl_window_mouse_event_cb ()
g_main_dispatch ()
[..]
g_main_loop_run ()
gst_gl_window_navigation_thread ()
g_thread_proxy ()
start_thread ()
clone ()
2016-10-05 18:32:09 +11:00
..
gst glwindow: don't use g_thread_join() to join the navigation thread 2016-10-05 18:32:09 +11:00
Makefile.am Use external shared libamrwb. Fixes #423741 (with lots of cleanup). 2007-05-16 13:50:51 +00:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:35:54 +01:00