[Lazarus] SdpoSerial Tx and Rx buffers?

Michael Schnell mschnell at lumino.de
Wed Feb 16 10:53:32 CET 2011


On 02/15/2011 01:49 AM, Paulo Costa wrote:
>
> The SdpoSerial component creates a thread to listen and generates an 
> event when bytes are received. So reading can be non-blocking.
> The write methods are direct calls to the Synaser ones and they are 
> blocking.
>
So I feel that SdpoSerial needs a buffer to hold the data read from the 
interface until the main thread is inclined to bother. The size of this 
buffer should somehow be configurable.

-Michael




More information about the Lazarus mailing list