[fpc-devel] Threads and alot of crap continued

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed Nov 8 10:16:58 CET 2006



On Wed, 8 Nov 2006, Michael Schnell wrote:

> 
> > As for general use, you can't do a Timer this way. 
> Right ! The beauty of TTimer (and GUI events as well) is that it does not work
> in a thread. Otherwise it e.g. would not be possible to do GUI stuff in a
> timer event, as VCL and LCL are not thread save (and probably can't be made
> thread save).

It can't because X-Windows or MS-Windows are not thread-safe.

Michael.



More information about the fpc-devel mailing list