Calling a thread asynchronously with a callback
Diez B. Roggisch
deets at nospam.web.de
Mon Nov 27 13:07:34 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. 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.
Counter question: does such a thing exist in C#, and if, is it bound to some
existing event loop?
I'm really curious, because having code being interrupted at any time by a
asynchronous callback strikes me as dangerous. But then maybe I'm just a
whimp :)
Diez
More information about the Python-list
mailing list