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,bdf72b2364b0da13 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.2 with SMTP id gm2mr12725532pbc.4.1323784262065; Tue, 13 Dec 2011 05:51:02 -0800 (PST) Path: lh20ni17901pbb.0!nntp.google.com!news2.google.com!postnews.google.com!j9g2000vby.googlegroups.com!not-for-mail From: Ada BRL Newsgroups: comp.lang.ada Subject: Re: Interrupts handling in ADA Date: Tue, 13 Dec 2011 05:51:01 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <30143086.6.1323549838421.JavaMail.geo-discussion-forums@vbbfq24> <1972030933345325859.831428martin-re.mo.ve.thedowies.com@news.btinternet.com> NNTP-Posting-Host: 164.11.203.58 Mime-Version: 1.0 X-Trace: posting.google.com 1323784261 28067 127.0.0.1 (13 Dec 2011 13:51:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Dec 2011 13:51:01 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j9g2000vby.googlegroups.com; posting-host=164.11.203.58; posting-account=yig7mwoAAAAAcduNbH7Dpal1sjCSAijA User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUARELSCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-12-13T05:51:01-08:00 List-Id: 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? 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 ... =)