I have a GUI that is accessing a remote resource. While it is doing so,
the GUI is frozen. Should I be spawning a thread to process gui events?
What's the right way to handle this?
I use twisted's asynchronous might to let several things run quasi-parallel.
I you can't split up your blocking call in several small steps, you can
also use threads with twisted in a very easy way.
But beware: twisted has a steep learning curve, it needs some time and
effort to wrap your brain around deferreds and other async stuff.
There's also asyncore, but I never used it.
Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.