From: jeffdameth Date: Fri, 9 Apr 2010 04:52:04 +0000 (+0000) Subject: make ecore thread cancel work. someone knowing the internals should check this again. X-Git-Tag: 2.0_alpha~194^2~1006 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5f83d12782468e3607501729ec28a24c15d52e8;p=framework%2Fuifw%2Fecore.git make ecore thread cancel work. someone knowing the internals should check this again. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@47866 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c index 30afc14..b840fc0 100644 --- a/src/lib/ecore/ecore_thread.c +++ b/src/lib/ecore/ecore_thread.c @@ -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;