evas: add mutex locking before signalling for the condition variable and releasing afterwards.

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
This commit is contained in:
Rajeev Ranjan 2013-06-24 11:50:08 +09:00 committed by Cedric Bail
parent d06a0982ef
commit 12458544d1
1 changed files with 5 additions and 1 deletions

View File

@ -1389,5 +1389,9 @@ EAPI void
evas_cache_image_wakeup(void)
{
if (_evas_cache_mutex_init > 0)
eina_condition_broadcast(&cond_wakeup);
{
LKL(wakeup);
eina_condition_broadcast(&cond_wakeup);
LKU(wakeup);
}
}