[fpc-devel] Threads and alot of crap continued
Michael Van Canneyt
michael.vancanneyt at wisa.be
Wed Nov 8 10:42:52 CET 2006
On Wed, 8 Nov 2006, Vinzent Hoefler wrote:
> On Wednesday 08 November 2006 09:16, Michael Van Canneyt wrote:
> > 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.
> Yeah, right. And threading in DOS is not possible either, because DOS
> is non-reentrant, is it?
I don't know. I didn't make any statements about DOS, AFAIK.
More information about the fpc-devel