On Thursday, September 30, 2010 08:42:48 am Roger Gammans wrote:
> 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

Thanks and I agree that's the primary issue.  However, that does not fix 
anything.  What is needed is a way (must be cross platform) to interact with 
the user.  That's what I'm asking for - have the reportwriter allow some sort 
threading fix the issue.

Johnf

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

Reply via email to