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,9277635655f37412 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.56.163 with SMTP id b3mr9307521pbq.0.1322846634862; Fri, 02 Dec 2011 09:23:54 -0800 (PST) Path: lh20ni59613pbb.0!nntp.google.com!news2.google.com!postnews.google.com!h3g2000yqa.googlegroups.com!not-for-mail From: awdorrin Newsgroups: comp.lang.ada Subject: Re: POSIX.Semaphores question Date: Fri, 2 Dec 2011 09:22:06 -0800 (PST) Organization: http://groups.google.com Message-ID: <30c8549e-63b0-4fd5-a204-9cbb21e0e419@h3g2000yqa.googlegroups.com> References: <7471851b-7c30-4cec-b1db-c4e62ff514d0@s4g2000yqk.googlegroups.com> <4ed9058b$0$6629$9b4e6d93@newsspool2.arcor-online.net> <4ed90656$0$6629$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 192.35.35.35 Mime-Version: 1.0 X-Trace: posting.google.com 1322846634 7337 127.0.0.1 (2 Dec 2011 17:23:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 2 Dec 2011 17:23:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h3g2000yqa.googlegroups.com; posting-host=192.35.35.35; posting-account=YkFdLgoAAADpWnfCBA6ZXMWTz2zHNd0j User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0,gzip(gfe) Xref: news2.google.com comp.lang.ada:14799 Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-12-02T09:22:06-08:00 List-Id: I was thinking that this should be 'pragma Export(C, READY, "ready")' instead - but that doesn't seem to have any effect. As long as the pragma is present, I cannot assign a value. I even tried: Sem_READY : Semaphore; READY : Semaphore_Descriptor := POSIX.Semaphores.Descriptor_Of( Sem_READY ); pragma Export( Ada, READY, "ready"); thinking that it would initialize, but still get an uninitialized 'READY'...