[Lazarus] New application type: HTTP standalone server
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Mon Jun 6 14:34:30 CEST 2011
On Mon, 6 Jun 2011, Michael Schnell wrote:
> On 06/06/2011 12:42 PM, michael.vancanneyt at wisa.be wrote:
>> By all means, you can do so, just don't expect me to create the event queue
> Of course not if you don't need it for your projects. :)
>
> As you know, for me it's a major design flow of the LCL, that the event queue
> is implemented separately within any Widget Type, instead of being a central
> object that offers appropriate hooks to all Widget Types (maybe "Windows"
> should better stay outside here.) With this in place, you would not need to
> bother :).
>
>> None of this requires the use of event queues or timers ?
>
> Of course they do: the free running "embedded" functionality performs lot of
> stuff on in timed cycles and as a result of events generated by Threads.
>
> Of course all this can be implemented according to other design paradigms,
> but the beauty of programming in Object Pascal / Lazarus / Delphi is doing as
> much as possible in main thread events and with that being freed from
> bothering about mutual access to objects (and using threads only very
> thoughtfully when it really makes sense), while not needing to bother about
> "busy" polling loops killing the system performance and/or leading to larger
> latency. OTOH, when porting Delphi projects, using this paradigm is a must
> anyway.
Well, if you really think it is so important: please implement it.
You cannot expect us to implement something which we see no use for.
But patches are always welcome. You get my guarantee that I will seriously
consider your patch.
Michael.
More information about the Lazarus
mailing list