On Thu, Sep 30, 2010 at 08:20:01AM -0700, John Fabiani wrote: > versions always worked - so windows was not the issue. On the linux side > threads worked as long as there were no interactive dialogs. For example > presenting a 'areYouSure' dialog would just lock up Linux from the thread.
Yes, I would expect that, unless you _really_ know what you're doing. The general advice is not to call UI methods from multiple threads (or rather any thread other that that with the main app loop in it.) - and this adivce is often repeated for Win32 as well. IIRC, in win32 you can get away with a little more , but each window has a 'home' thread where it's windows messages go, so you can get yourself in a mess still if you don't pay enought attention. Running report generation in another thread should be ok - if the report generator does't call into wx much. TTFN -- Roger. Home| http://www.sandman.uklinux.net/ Master of Peng Shui. (Ancient oriental art of Penguin Arranging) Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/ New key Fpr: 0F2F E1DF 4CD2 5E7B EF9F B173 4CFA F143 ADBE 6B00 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
