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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9277635655f37412 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.0.170 with SMTP id 10mr9207728pbf.2.1322845656803; Fri, 02 Dec 2011 09:07:36 -0800 (PST) Path: lh20ni59534pbb.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 02 Dec 2011 18:06:19 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: POSIX.Semaphores question References: <7471851b-7c30-4cec-b1db-c4e62ff514d0@s4g2000yqk.googlegroups.com> In-Reply-To: <7471851b-7c30-4cec-b1db-c4e62ff514d0@s4g2000yqk.googlegroups.com> Message-ID: <4ed9058b$0$6629$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 02 Dec 2011 18:06:20 CET NNTP-Posting-Host: e8705cb4.newsspool2.arcor-online.net X-Trace: DXC=1a1kZIaCYF6T2Rfi6:Lh>_cHTX3j=:[8=cfc0K^3 X-Complaints-To: usenet-abuse@arcor.de Xref: news1.google.com comp.lang.ada:19311 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2011-12-02T18:06:20+01:00 List-Id: On 02.12.11 17:54, awdorrin wrote: > What I'm gathering so far is that the pragma export is making the > variable 'READY' static, which is why its staying uninitialized... > > Not sure the right way to get this assigned and exported over to C. READY looks like it is being exported with convention Ada, meaning something like know yourself where READY is; I'd expect an address attribute near it that provides for storage. Is convention Ada the intent? Or should it by convention C or Standard if exported to some C implementation, or as a system function?