[wxPython-users] Can a background thread...?

Christopher Barker Chris.Barker at noaa.gov
Tue Jul 31 12:58:19 PDT 2007


Gre7g Luterman wrote:
> Thanks for the guidelines, Robin.  I guess no one has
> any hard rules on which calls are safe and which
> aren't.

And it's different on different platforms. I think the best thing to do 
is really separate you GUI and non-GUI code, and use only the know 
thread-safe methods to communicate with the GUI:

Posting events, wx.CallAfter, etc.

See the wiki under something like "long running tasks"

-Chris







-- 
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