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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bdf72b2364b0da13 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.212.232 with SMTP id nn8mr13905729pbc.1.1323818346882; Tue, 13 Dec 2011 15:19:06 -0800 (PST) Path: lh20ni19366pbb.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!feeder.erje.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 13 Dec 2011 17:18:43 -0600 User-Agent: NewsTap/3.5 (iPad) From: Martin Dowie Newsgroups: comp.lang.ada Mime-Version: 1.0 Message-ID: <357042976345510873.730982martin-re.mo.ve.thedowies.com@news.btinternet.com> Subject: Re: Interrupts handling in ADA References: <1972030933345325859.831428martin-re.mo.ve.thedowies.com@news.btinternet.com> Date: Tue, 13 Dec 2011 17:18:43 -0600 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-Yrk0TaBNborWjckFLZjWxFq3JsWiZtlHh/aJW3j//q0oszAZiW5CXTM21GTkh/N7D2XEJzCLR0MpArK!YhHBsbBRDY3C1CyJk7oCwhGx519L2FidktRoi/WWqYLGZcPwTozj3ZpszD+SmCtqKlKJOW8MEgbl!TM6pGpb+7zAcvpnE7c5oZTTg9f3efcf//R9BUC4s4JqpXyA= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2831 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2011-12-13T17:18:43-06:00 List-Id: Ada BRL wrote: > On 11 Dic, 20:21, Martin Dowie wrote: >> Simon Wright wrote: >>> "Ada @ BRL" writes: >> >>>> The environment of ADA applcation is: >> >>> Ada, please! >> >> Here, here! :-) >> >>> The new Ada2012 standard includes a synchronised Queue, which would be >>> just what you want out of the box, but you won't find that in the >>> current compilers, so you'll need to roll your own. >> >> Just a thought but perhaps the OP would qualify for the GNAT Academic >> Edition? In which case, they might get access to GNAT 7.0 pre-release which >> does have the new standard queue libraries. >> >> http://www.adacore.com/home/academia/ >> >> -- Martin > > I've made a mistake and I have replied only to you instead of the > group. > > What's the difference between synchronized queue and mailbox? > May I obtain the same result using mailbox (that I guess is a > protected object) instead of creating my own protected queue? Possibly "not a lot" - but an out-the-box solution is a simpler solution, if rarely a more (CPU) efficient solution. > I've tried to qualify for an academic version of GNAT but I need the > University support. > This will be in act only if the program would be used by several > people (or even an academic taught course), and not just by me ... =) Best of luck with that. I think it would be worth it to get the support AdaCore can offer as well as the latest gnat. -- Martin -- -- Sent from my iPad