forked from enlightenment/efl
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:
parent
d06a0982ef
commit
12458544d1
|
@ -1389,5 +1389,9 @@ EAPI void
|
||||||
evas_cache_image_wakeup(void)
|
evas_cache_image_wakeup(void)
|
||||||
{
|
{
|
||||||
if (_evas_cache_mutex_init > 0)
|
if (_evas_cache_mutex_init > 0)
|
||||||
|
{
|
||||||
|
LKL(wakeup);
|
||||||
eina_condition_broadcast(&cond_wakeup);
|
eina_condition_broadcast(&cond_wakeup);
|
||||||
|
LKU(wakeup);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue