comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: interface type question
Date: Tue, 09 Aug 2005 23:59:10 +0200
Date: 2005-08-09T23:59:01+02:00	[thread overview]
Message-ID: <42f92725$0$6966$9b4e6d93@newsread2.arcor-online.net> (raw)

hi,
clause 3.9.4 about Interface Types in Amendment-D12.html
has an example where a Queue interfaces is parenting a
Synchronized_Queue interface. An explaining paragraph
follows and says, "The Synchronized_Queue interface ...
adds two additional dispatching operations."

But does it add any dispatching operation to Synchronized_Queue?

"type Queue is limited interface;
procedure Append(Q : in out Queue; Element : in Person_Name) is abstract;
...

"type Synchronized_Queue is synchronized interface and Queue; -- see 9.11
procedure Append_Wait(Q : in out Queue; Element : in Person_Name) is abstract;
..."

By habit I had assumed that the first parameter of Append_Wait
should be Synchronized_Queue, not Queue. Is this Correct?


http://www.ada-auth.org/ai-files/grab_bag/Amendment-D12.html
(big)

-- Georg 



             reply	other threads:[~2005-08-09 21:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-09 21:59 Georg Bauhaus [this message]
2005-08-10 21:11 ` interface type question Randy Brukardt
replies disabled

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