On Dec 12, 2007 9:34 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> So what if the worker thread posts a custom message to say the windows
> message queue.  Surely that wouldn't cause the thread to be suspended.
>  The GUI control then simply needs to know about the custom message,
> to process it correctly.  Could this work, well on Windows at least?

Using messages works on windows, but GTK is the most thread unsafe of
all widgetsets, when i tried to port an app that worked fine on
windows to GTK1/2 it was quite unstable, even now with a StringList
based messages queue there are times when the app simply crashes with
strange gtk resize warning but this is probably a GTK stability issue.
Being able to do GUI calls in secondary threads is nice to have.

Razvan

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to