forked from enlightenment/efl
make ecore thread cancel work. someone knowing the internals should check this again.
SVN revision: 47866
This commit is contained in:
parent
fb9bde702e
commit
5fd3adcc68
|
@ -313,7 +313,7 @@ ecore_thread_cancel(Ecore_Thread *thread)
|
||||||
pthread_mutex_unlock(&_mutex);
|
pthread_mutex_unlock(&_mutex);
|
||||||
|
|
||||||
/* Delay the destruction */
|
/* Delay the destruction */
|
||||||
work->cancel = EINA_TRUE;
|
((Ecore_Pthread_Worker*)thread)->cancel = EINA_TRUE;
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
#else
|
#else
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue