[fpc-pascal] Console application with multi-threading
Graeme Geldenhuys
graemeg.lists at gmail.com
Mon May 4 13:22:46 CEST 2009
Hi,
Is it possible to have a multi-threaded console application? For
example I have a console application that does logging to a file. The
file logging is handled in a thread that does caching and contention
handling. This works fine for GUI based applications, but what about
Console based applications?
The reason I ask, is because I can't see CheckSynchronize() being
called anywhere in TCustomApplication descendants like what Lazarus
(console app project) creates?
So how does this work with TThread based threads and console apps?
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list