On Mon, 10 Oct 2011, Michael Schnell wrote:

On 10/09/2011 03:14 PM, Michael Van Canneyt wrote:
It's not so on Unix. X-Windows is definitely not thread-safe.
Of course "in general" this is correct.

But I understand that it should be possible that an application (using additional threads) creates more than one "Main Frame" by attaching to a new "instance" of the Widget set and thus - regarding the GUI - acts as multiple applications, (But quite obviously the LCL does not support this, as it uses some global variables to manage the "Application".)

I don't think that the LCL should support this.
It adds another layer of complexity for no good reason at all, with
questionable end-results.

See the link I posted for a good explanation of why this is a bad idea.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to