Hello all, In ecore_thread.c:_ecore_thread_shutdown(), if there is still some _ecore_running_job, ecore_thread_cancel() will be called while _ecore_pending_job_threads_mutex is being held. In ecore_thread_cancel(), it will try to acquire the same mutex, causing _ecore_thread_shutdown() to freeze.
That's how I read the code while I was trying to debug why my app does not shutdown completely (there is a thread running, without being cancelled before calling elm_exit()). I do not know how to fix it other than moving LKU before calling ecore_thread_cancel; however, I do not know if it's safe to do or not. Thanks in advance. brian -- brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
