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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to