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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus