pubsub from threads

Frank Aune frank.aune at broadpark.no
Mon Jan 14 12:48:44 PST 2008


Hi,

Updating the GUI from threads in wx is not supported, so I always  
believed you could for example use pubsub to "signal" GUI-update  
functions. I tried this today, but it seems like it will randomly hang  
the GUI just like if you called the GUI-update functions directly.

To recap: using pubsub from a thread to signal updates (to the GUI)  
and in the pubsub signal handler calling the GUI-update function, is  
just as bad as calling the GUI-update functions directly from the  
thread. Is this a correct assumption on my part?

Thanks,
Frank




More information about the wxpython-users mailing list