[Lazarus] Are multiple critical sections allowed in form or data module?

Michael Schnell mschnell at lumino.de
Mon Oct 10 10:33:56 CEST 2011


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".)

-Michael




More information about the Lazarus mailing list