[fpc-devel] Threads and alot of crap continued

Michael Schnell mschnell at lumino.de
Tue Nov 7 18:10:45 CET 2006


> Of course, because the common concept of a timer is as asynchronous as 
> in "multi-threaded" or even "interrupt".
>   
That is not true ! (See my other post.)

Timer events are queued in a line (message-queue) with all 
"hardware"/"GUI" events. Main Thread event callbacks  are never 
interrupted (preempted) by other Main Thread event callbacks unless 
Application.ProcessMessages is called. And this _is_ important and makes 
using Object pascal a lot easier !

-Michael



More information about the fpc-devel mailing list