ecore_thread_cancel is now nullsafe, returning EINA_TRUE
SVN revision: 50523
This commit is contained in:
parent
7f68aaa0c0
commit
24a6c8ce55
|
@ -472,6 +472,9 @@ ecore_thread_cancel(Ecore_Thread *thread)
|
||||||
Ecore_Pthread_Worker *work;
|
Ecore_Pthread_Worker *work;
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
||||||
|
if (!work)
|
||||||
|
return EINA_TRUE;
|
||||||
|
|
||||||
pthread_mutex_lock(&_ecore_pending_job_threads_mutex);
|
pthread_mutex_lock(&_ecore_pending_job_threads_mutex);
|
||||||
|
|
||||||
EINA_LIST_FOREACH(_ecore_pending_job_threads, l, work)
|
EINA_LIST_FOREACH(_ecore_pending_job_threads, l, work)
|
||||||
|
|
Loading…
Reference in New Issue