2013/9/2 johannes hanika <[email protected]>: > no, that's exactly the race condition horror scenario i described earlier.. > if we write to that file we want to be sure we do that now and only in one > thread at a time. if you just put it in a job you'll need to provide > wrappers which force it to happen now and put a mutex around it etc.
Ok, looks like it was a bad idea to use a background job for this. The safety is indeed a very strong point. Let's drop this then except if you have a better idea to avoid this long delay and freeze of the UI. Thanks, Pascal. -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://v2p.fr.eu.org http://www.obry.net gpg --keyserver keys.gnupg.net --recv-key F949BD3B ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ darktable-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-devel
