On Thu, Mar 6, 2014 at 3:46 PM, Sebastian Dransfeld <[email protected]> wrote: > Thread + pipe
Ecore_Thread and all the ecore main loop sync/async/lock/unlock do provide a better integration with the main loop than just simple thread and pipe. I do recommend those. Also if your code is pinging the server and doing network stuff, it should not block anything in the main loop if you use ecore_con. > S. > >> Den Mar 6, 2014 kl. 18:51 skrev Jeff Hoogland <[email protected]>: >> >> It is more complicated than that - I have python libraries pinging servers >> online for information. Such as logging into pandora.com or updating >> apt-get sources >> >> >> On Thu, Mar 6, 2014 at 11:47 AM, Davide Andreoli >> <[email protected]>wrote: >> >>> 2014-03-06 18:03 GMT+01:00 Jeff Hoogland <[email protected]>: >>> >>>> So I have a bit of code that takes a around a minute to execute (it is >>>> downloading resources from the internet). Currently when it runs my >>>> Elementary GUI simply hard locks. >>>> >>>> What is the best way to not have this happen, but instead display a >>>> "loading" message? Everything I've thought of to try hasn't worked out >>> and >>>> I could really use a concrete example if anyone has one. >>>> >>>> >>> ecore_file_download is a way to do it >>> >>> >>>> -- >>>> ~Jeff Hoogland <http://jeffhoogland.com/> >>>> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog >>>> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop >>>> >>>> >>> ------------------------------------------------------------------------------ >>>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>>> Perforce. >>>> With Perforce, you get hassle-free workflows. Merge that actually works. >>>> Faster operations. Version large binaries. Built-in WAN optimization and >>>> the >>>> freedom to use Git, Perforce or both. Make the move to Perforce. >>>> >>>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> enlightenment-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>>> >>> >>> ------------------------------------------------------------------------------ >>> Subversion Kills Productivity. Get off Subversion & Make the Move to >>> Perforce. >>> With Perforce, you get hassle-free workflows. Merge that actually works. >>> Faster operations. Version large binaries. Built-in WAN optimization and >>> the >>> freedom to use Git, Perforce or both. Make the move to Perforce. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> enlightenment-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >>> >> >> >> >> -- >> ~Jeff Hoogland <http://jeffhoogland.com/> >> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog >> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> enlightenment-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Cedric BAIL ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
