From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Queue implementation in Ada Date: Mon, 27 Oct 2014 20:30:02 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <8456b674-a10d-411f-bcf6-90d9638b7fc9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 28 Oct 2014 03:29:58 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="206f88a41f45fc94d25d07d064d738e2"; logging-data="13536"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lC3evCexkAXpP3s9m7lKKp91DbdNfWbw=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <8456b674-a10d-411f-bcf6-90d9638b7fc9@googlegroups.com> Cancel-Lock: sha1:9DpK/9lU9xkoBbUHtR268Bi2CpE= Xref: news.eternal-september.org comp.lang.ada:22836 Date: 2014-10-27T20:30:02-07:00 List-Id: On 10/27/2014 07:01 PM, compguy45@gmail.com wrote: > Is there queue fifo implemented in ada? I saw this example but not sure where he is fetting fifo package > http://rosettacode.org/wiki/Queue/Usage Ada has synchronized queues; see ARM A.18.27-31 http://www.adaic.org/resources/add_content/standards/12rm/html/RM-A-18-27.html If you want unsynchronized queues, you could build your own, possibly using Ada.Containers.Doubly_Linked_Lists (ARM A.18.3). Or you could download an existing library that implements them, such as the PragmAda Reusable Components http://pragmada.x10hosting.com/pragmarc.htm -- Jeff Carter "You me on the head hitted." Never Give a Sucker an Even Break 108