evas: fix preload thread dead lock issue 82/64782/1
authorjiin.moon <jiin.moon@samsung.com>
Mon, 29 Feb 2016 07:24:10 +0000 (16:24 +0900)
committerjiin.moon <jiin.moon@samsung.com>
Tue, 5 Apr 2016 09:19:21 +0000 (18:19 +0900)
commit413e385b5383fc87bf51d8700c9fb759b37778b0
tree22707f4d84ef1ba6b1bced41c34c46ab9264130b
parent220586fdd248312bd49bc6f845274f567ec550c7
evas: fix preload thread dead lock issue

    Summary:
    Add spin lock to access to new flag can check to
    status of the preload

    Reviewers: jpeg, cedric, jypark

    Subscribers: raster

    Differential Revision: https://phab.enlightenment.org/D3775

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
    evas: fix preload thread deadlock issue

    Summary: Wrong condition makes deadlock issue.

    Reviewers: jpeg, jypark

    Subscribers: cedric

    Differential Revision: https://phab.enlightenment.org/D3742

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I8fc9fa60c574c6dbfb6c3073925da867408cdb95
src/lib/evas/cache/evas_cache_image.c
src/lib/evas/include/evas_common_private.h