On Fri, Apr 10, 2015 at 6:03 PM, Cedric BAIL <cedric.b...@free.fr> wrote:

> On Fri, Apr 10, 2015 at 9:52 AM, Jean-Philippe ANDRÉ <j...@videolan.org>
> wrote:
> > jpeg pushed a commit to branch master.
> >
> >
> http://git.enlightenment.org/core/elementary.git/commit/?id=743ce4e86d29f7d57be42558f1154876b4234e03
> >
> > commit 743ce4e86d29f7d57be42558f1154876b4234e03
> > Author: Jean-Philippe Andre <jp.an...@samsung.com>
> > Date:   Thu Apr 9 17:09:53 2015 +0900
> >
> >     elm_image: Fix potential race conditions in async mode
> >
> >     Without any locking or thread-safe mechanism, the previous
> implementation
> >     would have failed as soon as too many file_set() happened on the same
> >     object. Indeed, file_set() can happen while the async open thread is
> >     running. I shouldn't have blindly listened to Cedric :P
>
> That's why I told you to use ecore_thread_wait and ecore_thread_cancel :-P
>

Hehe I know, but the point of async mode is to not have to wait in the main
loop (during file_set).

-- 
Jean-Philippe André
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to