Calling a thread asynchronously with a callback
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Mon Nov 27 13:11:56 EST 2006
Edwin Gomez wrote:
> I'm a C# developer and I'm new to Python. I would like to know if
> the concept of Asynchronous call-backs exists in Python.
Sure. Either with this:
http://twistedmatrix.com/projects/core/documentation/howto/async.html
Or manually using select().
> Basically what I mean is that I dispatch a thread and when the
> thread completes it invokes a method from the calling thread.
> Sort event driven concept with threads.
What you describe here isn't the only way to do asynchronous
callbacks. See above for a simpler way.
Regards,
Björn
--
BOFH excuse #233:
TCP/IP UDP alarm threshold is set too low.
More information about the Python-list
mailing list