[Lazarus] Console app
Michael Schnell
mschnell at lumino.de
Mon Mar 17 11:28:41 CET 2014
On 03/17/2014 11:14 AM, Mattias Gaertner wrote:
> Feel free to add it.
It's not as impossible as I initially thought, as the fpc RTL already
provides the basic Queue implantation that can be used (while all other
"active" Widget Types use a queue provided by the GUI infrastructure
they attach to).
Doing TTimer needs some afterthoughts: there are multiple ways, each
with some pro's and cons: e.g.
- simply using the "timeout" parameter of the RTL queue "poll" procedure,
- doing one or several dedicated threads with "sleep()" for handling
the timers, feeding timer events into the queue
- ...
-Michael
More information about the Lazarus
mailing list