On 2008-01-17 14:30, Dirk Meyer wrote:
> Please do. Attached a patch that handles ThreadCallback similar to
> Thread and Process but adds a __call__ method.

So if I understand this correctly, this doesn't work with nameless
threads?  So this doesn't merge ThreadCallback and Thread ...

Also are ThreadCallback.register and set_thread() needed to be
separate?  They look roughly the same, except that register() invokes
itself.  My earlier suggestion is to pass the thread name on the
constructor, so register/set_thread wouldn't be necessary.

   ThreadCallback('name', somefunc)(arguments)




-------------------------------------------------------------------------
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