} // end of 1st while(1)
}
+static void __notify_thread(void *data, Ecore_Thread *thread, void *msg)
+{
+ SLOG(LOG_ERROR, tts_tag(), "@@@ Notify thread");
+}
+
int __create_ducking_handle(void)
{
int ret = -1;
SLOG(LOG_INFO, tts_tag(), "[Player DEBUG] Active thread count : %d", ecore_thread_active_get());
SLOG(LOG_INFO, tts_tag(), "[Player] Run thread");
- ecore_thread_run(__play_thread, __end_play_thread, NULL, NULL);
+ ecore_thread_feedback_run(__play_thread, __notify_thread, __end_play_thread, NULL, NULL, EINA_TRUE);
pthread_mutex_unlock(&g_player_control_mutex);
return 0;
g_playing_info = current;
SLOG(LOG_INFO, tts_tag(), "[Player] Resume to run thread");
- ecore_thread_run(__play_thread, __end_play_thread, NULL, NULL);
+ ecore_thread_feedback_run(__play_thread, __notify_thread, __end_play_thread, NULL, NULL, EINA_TRUE);
pthread_mutex_unlock(&g_player_control_mutex);
return 0;