[fpc-pascal] Console application with multi-threading

"Vinzent Höfler" JeLlyFish.software at gmx.net
Mon May 4 20:07:14 CEST 2009


> Is it possible to have a multi-threaded console application?

Yes. BTDT.

> The reason I ask, is because I can't see CheckSynchronize() being
> called anywhere in TCustomApplication descendants like what Lazarus
> (console app project) creates?

Well, if you want to do it that way, you're free to insert the call in your descendants, but...

> So how does this work with TThread based threads and console apps?

... actually I never used CheckSynchronize at all. ;)


Vinzent.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01



More information about the fpc-pascal mailing list