* ecore_thread: Another dead lock spotted by Sachiel.

SVN revision: 41570
This commit is contained in:
Cedric BAIL 2009-08-03 14:09:09 +00:00
parent 9a056bed3a
commit 13cea2628b
1 changed files with 4 additions and 1 deletions

View File

@ -196,7 +196,10 @@ ecore_thread_run(void (*func_heavy)(void *data),
_ecore_thread = eina_list_append(_ecore_thread, work);
if (_ecore_thread_count == _ecore_thread_count_max)
return EINA_TRUE;
{
pthread_mutex_unlock(&_mutex);
return EINA_TRUE;
}
pthread_mutex_unlock(&_mutex);