[wxPython-users] Can wxPython put xlib into synchronous mode? (xlib async errors!)

Christopher Barker Chris.Barker at noaa.gov
Fri May 11 11:04:49 PDT 2007


Charlie Von Metzradt wrote:

> I've tried looking for a way to put the entire X server into synchronous 
> mode, but I have had little success with that too.
> 
> Does anybody have any ideas?

I can only say that I poked into this a bit myself a while back, but 
never figured out how. I didn't spend more than a couple hours, though. 
If you do find a way please let us know -- this would be handy for 
profiling drawing code too.

However, it shouldn't be that hard to fix your problem: Don't do 
ANYTHING with wx in other threads, except the few known thread-safe 
event posting calls (wx.CallAfter is the easiest).

-CHB


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list