IIRC, the TApplication instance needs to take care of the message queue
that schedules events for TTimer the Delphi "procedure ... message"
construct  etc.

With GUI application the message queue is managed by means of the
appropriate GUI Framework, such as the Windows or GTK API-

MSE provides creating a "nogui" application that handles the message
queue without complex external stuff but in Linux uses "sem_wait()" to
wait in case of an empty message queue and signals for posing events. (I
don't know how they do this in Windows).

I feel that this would be a very appropriate extension to the native FPC
RTL, so that IDE frameworks can standardize  on this.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to