[wxPython-users] wx in threads other then the main thread
Robin Dunn
robin at alldunn.com
Fri Jun 1 11:58:32 PDT 2007
Nigel W. Moriarty wrote:
> Folks
>
> I've read many postings that say don't do wx things in threads other
> than the main thread. My app was developed on a Linux machine and I
> use wx.Post to send event to the main thread and everything works
> fine. So you can imagine my surprise when on a Mac I get a report
> that my app crashed in thread 13 (unlucky) and that a wx.DC was
> involved.
>
> Can I believe the report? Are my threads doing wx stuff and the
> Linux app is not telling me?
Did the user include the stack trace from the crash report? If so then
it might help to give context to the crash so you can identify what part
of your program it is happening in. Is your app doing anything with any
kind of DC from your worker threads?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list