[Lazarus] Serial communication??
Michael Schnell
mschnell at lumino.de
Thu Sep 30 10:37:38 CEST 2010
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
More information about the Lazarus
mailing list