Duncan Webb wrote:
> BTW I like the async.wait() call it makes life much easier.

wait should be avoided because it calls step() again. Let me give you
an example: you have a mainloop running (calling step). Now you are in
a callback and call step() to wait. Inside wait you call step again
which will call another callback that also uses step. This means, that
the first step will not return until the second one is done! I hope
you understand it. A traceback would be:

main
step
callback x
wait
step
callback y
wait
step


Dischi

-- 
"To know recursion, you must first know recursion"

Attachment: pgpTc5EyVX8IL.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

Reply via email to