[fpc-pascal] How to implement a circular buffer object in pascal?
vmst at golden.net
vmst at golden.net
Tue Sep 8 21:30:34 CEST 2020
<quote author='Free Pascal - General mailing list'>
I would like to create a buffer into which a thread can push incoming
data and the main thread can extract it for processing.
Data are coming from the serial port in a worker thread and should be
consumed by the main thread. The data is a byte stream.
Are there any good examples available?
I have only implemented such systems in C on embedded platforms so it
is not pascal enough to easily port.
--
Bo Berglund
Developer in Sweden
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
</quote>
Quoted from:
http://free-pascal-general.1045716.n5.nabble.com/How-to-implement-a-circular-buffer-object-in-pascal-tp5736027.html
Bo,
Send me your email address here
vmst at golden.net
Brian
_____________________________________
Sent from http://free-pascal-general.1045716.n5.nabble.com
More information about the fpc-pascal
mailing list