On Sat, 2008-01-12 at 13:33 +0100, Dirk Meyer wrote: > def do_something_in_a_thread(arg1, arg2): > [...] > > def result(r): > handle result in mainloop > > kaa.notifier.Thread(do_something_in_a_thread, 1, 7).start().connect(result)
Or perhaps: @kaa.execute_in_thread() def worker(arg1, arg2): [...] worker(1, 7).connect(handle_result) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel