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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,92a027c293f03acb X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Wiktor Moskwa Newsgroups: comp.lang.ada Subject: Re: Workqueues in Ada Date: Sat, 28 Jul 2007 17:56:23 +0000 (UTC) Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: NNTP-Posting-Host: aaeo146.neoplus.adsl.tpnet.pl X-Trace: atlantis.news.tpi.pl 1185645383 9230 83.4.118.146 (28 Jul 2007 17:56:23 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 28 Jul 2007 17:56:23 +0000 (UTC) User-Agent: slrn/0.9.8.1 (Linux) Xref: g2news2.google.com comp.lang.ada:1240 Date: 2007-07-28T17:56:23+00:00 List-Id: On 28.07.2007, Jeffrey R. Carter wrote: > A simple thing to do would be to replace Doubly_Linked_Lists with a > protected, bounded queue, such as PragmARC.Queue_Bounded[_Blocking]. > This will also serve to validate that it's the dynamic nature of > Doubly_Linked_Lists that is causing the problem. > > The PragmAda Reusable Components are available at > > http://pragmada.home.mchsi.com/ If this queue is not dynamic but initially allocates a buffer to store elements - it should solve my problem. I'll try it and let you know. Thanks! -- Wiktor Moskwa