On Sat, Feb 26, 2011 at 11:46 AM, Ivanov Dmitriy <[email protected]> wrote:

> Maybe, that's because QWidget is not thread safe and I use threads?

Yeah, using threads risks crashing the whole program randomly. In
general threads are not recommended for GUI programs.

> How can I output messages to the user?

Try to avoid threads in the first place.

If that is not possible, Leo could grow an output function that is
thread safe (g.es_thread?). It would only use the ui when running on
main thread.

Making the default g.es wouldn't make sense because it would be somewhat slower.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to