Function causing hang (src/madplug/plugin.c):
static void audmad_stop (InputPlayback * playback) { g_mutex_lock (control_mutex); info.playback->playing = FALSE; g_cond_signal (control_cond); g_mutex_unlock (control_mutex); g_thread_join (playback->thread); // !!! it hangs here !!! playback->thread = NULL;
input_term (& info); }
Function causing hang (src/madplug/ plugin. c):
static void audmad_stop (InputPlayback * playback) playback- >playing = FALSE; >thread = NULL;
{
g_mutex_lock (control_mutex);
info.
g_cond_signal (control_cond);
g_mutex_unlock (control_mutex);
g_thread_join (playback->thread); // !!! it hangs here !!!
playback-
input_term (& info);
}