On Mon, 6 Jun 2011, Michael Schnell wrote:
On 06/06/2011 10:13 AM, [email protected] wrote:
I just don't see the point, I'm sorry. You have not produced a single use
case which convinces me that we are ever likely to need this in a
webserver.
I already did state the use cases I have in mind. But this might be a long
time ago and I don't actively work on these projects any more right now. They
might come up again some time, though, and I will be happy to be able to
built them on your work.
By all means, you can do so, just don't expect me to create the event queue and
whatnot.
The projects are (rather huge) "headless" embedded programs, that are ported
from Delphi. They heavily use timers and threads (e.g. communication threads
that are dedicated to sockets or serial interfaces). They are supposed to run
on systems that don't feature X11 and/or Widget libraries. Usually they work
without any active user interface, but for monitoring, debugging and
configuration purposes they should be able to be accessed by an external PC
via TCP/IP (nice: via a standard browser; less nice but more versatile: via a
dedicated program running on the PC; also nice but requiring a lot more
resources on the embedded site: via VNC).
None of this requires the use of event queues or timers ?
Lately another use came up: a service in a newer version of Windows "Server"
editions can't do GUI linking at all, while with older versions this was
possible (our Delphi programs <purpose: see above> do this).
I do client/server programming quite a lot. All our apps are 3-tier.
Server services are heavily threaded. None of them has a timer on the
server, or an event queue. (unless you see the socket listener as an
event queue)
There may be one timer, for the database backup scheduler - and even this
one could be done perfectly without timer. A simple sleep() would do, or
schedule it externally with the system scheduler.
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus