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!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: FIFO Date: Sun, 17 Sep 2017 00:04:47 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 16 Sep 2017 22:04:47 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="41ad00b6f0e50c00516aa0b75b6a3aa2"; logging-data="21530"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ybWao1Obzid+xgl749cpTdQiGucvEuvo=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 In-Reply-To: Content-Language: en-US Cancel-Lock: sha1:y+TWK1MWOPAqJYaD5ueWFXZ2IUM= Xref: news.eternal-september.org comp.lang.ada:48159 Date: 2017-09-17T00:04:47+02:00 List-Id: On 09/16/2017 05:24 PM, Frank Buss wrote: > I need a FIFO with a fixed size, for buffering serial data on an embedded > system. The FIFO will be filled in an interrupt and read from the main function. You could use an instance of PragmARC.Queue_Bounded_Unprotected: https://github.com/jrcarter/PragmARC -- Jeff Carter "When danger reared its ugly head, he bravely turned his tail and fled." Monty Python and the Holy Grail 60