On 01 Nov 2012, at 10:36, Sven Barth wrote:

> On 01.11.2012 03:30, Noah Silva wrote:
>> Background threads not being able
>> to touch the GUI, etc. makes it all but useless for many purposes.
> 
> That you can't access the GUI is not a problem of FPC, but a design decision 
> of the LCL (or better: the VCL which it is based upon).

Or even better: the graphical toolkit the LCL is based on. E.g. on Mac OS X, 
Carbon requires that GUI manipulations happen from the main thread. Cocoa is 
more lenient, but even that one has a lot of restrictions and caveats when 
interacting with the GUI or graphics from secondary threads. Of course, the LCL 
can/could try to hide this from the programmer at the expense of a bunch of 
overhead.


Jonas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to