[fpc-pascal] is there a circular queue implementation already in FPC or FCL?

Dennis Poon dennis at avidsoft.com.hk
Sat Jul 27 07:25:15 CEST 2013


thanks Martin.

But that looks a bit too complex. I only need something simpler and 
preferably in generics style.
It is used for tcp data buffering which needs to be fast.

I will just write it myself.

Dennis

Martin Schreiber wrote:
> On Friday 26 July 2013 17:19:52 Dennis Poon wrote:
>    
>> if not, I shall write my own. Just want to check first.
>>
>>      
> All tdatalist descendants in MSEgui can be used as circular queue:
> http://gitorious.org/mseide-msegui/mseide-msegui/blobs/master/lib/common/kernel/msedatalist.pas
>
> There is also tpointerqueue and descendants:
> http://gitorious.org/mseide-msegui/mseide-msegui/blobs/master/lib/common/kernel/mselist.pas
>
> Martin
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2013.0.3349 / Virus Database: 3209/6524 - Release Date: 07/26/13
>
>
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130727/9a64743c/attachment.html>


More information about the fpc-pascal mailing list