Jason Tackaberry wrote: > Maybe that's what ThreadCallback should do: run a callback in a new > thread every time. This obviates the need for the Thread class (it can > be removed) -- it basically _is_ the Thread class except that it's a > callable. And we can have a separate class to run a callback in a > specific thread: NamedThreadCallback (or whatever). Maybe this is > derived from ThreadCallback or maybe it isn't.
So you suggest s/ThreadCallback/NamedThreadCallback and s/Thread/ThreadCallback? And rename start in Thread to __call__. Dischi -- Quitters never win, and winners never quit, but those who never quit AND never win are idiots.
pgp8dq8WQInWc.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