comp.lang.ada
 help / color / mirror / Atom feed
From: awdorrin <awdorrin@gmail.com>
Subject: Re: POSIX.Semaphores question
Date: Fri, 2 Dec 2011 09:22:06 -0800 (PST)
Date: 2011-12-02T09:22:06-08:00	[thread overview]
Message-ID: <30c8549e-63b0-4fd5-a204-9cbb21e0e419@h3g2000yqa.googlegroups.com> (raw)
In-Reply-To: 4ed90656$0$6629$9b4e6d93@newsspool2.arcor-online.net

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'...



  reply	other threads:[~2011-12-02 17:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02 15:43 POSIX.Semaphores question awdorrin
2011-12-02 16:54 ` awdorrin
2011-12-02 17:06   ` Georg Bauhaus
2011-12-02 17:09     ` Georg Bauhaus
2011-12-02 17:22       ` awdorrin [this message]
2011-12-03 16:32         ` awdorrin
2011-12-03 19:59 ` Niklas Holsti
2011-12-05 12:25   ` awdorrin
2011-12-05 14:19     ` Georg Bauhaus
2011-12-05 16:58       ` awdorrin
2011-12-05 17:59         ` Simon Wright
2011-12-06  0:53           ` awdorrin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox