I am new to twisted and am trying to figure out if I can use it with gtk but without threads.

I need this because of an old library I'm using that doesn't work with gtk threads. Since I have to run single threaded the async xml rpc offered by Twisted is ideal for my application to work well.

To test this I tweaked the example pbgtk2.py to disable threads as recommended here:
http://twistedmatrix.com/trac/ticket/1083
The tweaked version is attached. I start pbecho.py and run my pbgtk2.py. When I click connect it eventually times out. Without my tweaks it connects immediately.

Does anyone know if this is supposed to be possible? If so, what I am I doing wrong?

I am using python v2.3 and pygtk v2.6.
Thanks
Kim

PS. Sorry if this is a double post, I first sent it before subscribing.

Attachment: pbgtk2.py
Description: application/python

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to