Michael Van Canneyt schrieb:
On Wed, 24 Apr 2013, Michael Schnell wrote:
On 04/24/2013 11:21 AM, Michael Van Canneyt wrote:
Somewhere the main program loop must call checksynchronize, that is all.
If that (i.e. doing a pseudo-queue in the user-code) is true for all
platforms (which would mean that an EventQueue does exist and just is
not polled automatically), I don't see why QueueAsyncCall() can't be
handled in the same way.
Because it resides in the LCL and is inherently bound to a GUI.
(horrible nogui widgetset tricks notwithstanding)
The RTL does not need a GUI.
Even non-GUI programs may need event/message handling, like (Windows)
services, or servers in a client-server scenario. But AFAIK according
inter-process communication is very platform specific, dunno what common
means the RTL offers for such purposes.
Dodi
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus