make ecore thread cancel work. someone knowing the internals should check this again.

SVN revision: 47866
This commit is contained in:
Hannes Janetzek 2010-04-09 04:52:04 +00:00
parent fb9bde702e
commit 5fd3adcc68
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ ecore_thread_cancel(Ecore_Thread *thread)
pthread_mutex_unlock(&_mutex);
/* Delay the destruction */
work->cancel = EINA_TRUE;
((Ecore_Pthread_Worker*)thread)->cancel = EINA_TRUE;
return EINA_FALSE;
#else
return EINA_TRUE;