Re: [fpc-pascal] Console application with multi-threading

2009-05-04 Thread Vinzent Höfler
> 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

Re: [fpc-pascal] Console application with multi-threading

2009-05-04 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > 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

[fpc-pascal] Console application with multi-threading

2009-05-04 Thread Graeme Geldenhuys
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 applic