On 09/29/2010 05:39 PM, Mark Morgan Lloyd wrote:
... but not if writing a multithreaded store-and-forward server.

You are absolutely right. Doing too much ini the main thread might slow down server-type applications a lot due to the necessary serialization of the events. But doing such application is "advanced programming" and who wants to dive into this will need to bother with the well known dangerous dirty details of thread programming. There just should be a package that allows for using serial communication also to "basic" (non multi-threaded) programming. If the same package also allows for "advanced" usage by additionally supplying "thread-events": the better !

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to