[fpc-pascal] lnet for TCP daemon

Michael Van Canneyt michael at freepascal.org
Thu Sep 12 13:28:47 CEST 2013



On Thu, 12 Sep 2013, Michael Schnell wrote:

> On 09/12/2013 12:47 PM, Mark Morgan Lloyd wrote:
>> 
>> 
>> I've concluded that using a thread is, in fact, preferable
> True.
>
> It's a pity that Synapse and friend (especially SynaSer) does does not 
> implement internal threads that throw appropriate events in the Main Thread 
> when something comes in (or an error appears). This is a very common request, 
> and since the fpc-Team some time ago enabled TThread.Queue in the RTL, this 
> is doable in a straight forward, "fpc-ish" way (portable but Delphi 
> compatible).

The very reason I use Synapse is that it DOES NOT use threads.
Synapse is simple to use. Keep it so.

The way it is now, threads are still an option. If threads are incorporated in the design
there is no way to get them out again.

Michael.



More information about the fpc-pascal mailing list