Jason Tackaberry wrote: > Author: tack > Date: Mon Feb 18 21:13:19 2008 > New Revision: 3115 > > Log: > New function main.loop(), which is mostly what main.run() used to be. > Update InProgress.wait() to use this function. > > This fixes a nasty bug where two threads call wait() on an InProgress > object before main.run() is started. Each one thinks it should set > itself to be the main thread. > > main.step() should not usually be called. All instances of this idiom: > > while some_condition: > main.step() > > should be replaced with this one: > > main.loop(lambda: some_condition)
That is nice. Maybe rename loop to wait? Dischi -- My mind not only wanders, sometimes it leaves completely.
pgpbLgCLoNya8.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel