From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Does GNAT support a thread-free RTS?
Date: Tue, 13 Sep 2011 22:35:03 +0200
Date: 2011-09-13T22:35:03+02:00 [thread overview]
Message-ID: <19h1e7wu3i2kl.17e3nq0mrs4jb$.dlg@40tude.net> (raw)
In-Reply-To: 4e6f8ade$0$7620$9b4e6d93@newsspool1.arcor-online.net
On Tue, 13 Sep 2011 18:54:53 +0200, Georg Bauhaus wrote:
> On 13.09.11 14:18, Dmitry A. Kazakov wrote:
>
>> Protected objects are not tagged, you need inheritance to provide typed
>> channels. You meed multiple dispatch to handle channel-type + value-type
>> hierarchies. You need entries returning indefinite values. You need MI to
>> have handles to the channels/devices implementing the interface of a
>> protected object.
>
> Is there an AI on "limited holders"?
Holder is useless without delegation, interface inheritance, MI, otherwise
it quickly becomes an endless swamp of generic instantiations. Note also
classical MD case: channel-type x value-type (<=> handle-type).
BTW, protected objects are unsuitable for distributed interfaces anyway.
You need a background task to prevent blocking upon I/O. The usual
technique of re-queueing does not help here. The interfaces must be tasks,
rather than objects.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2011-09-13 20:35 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-10 15:19 Does GNAT support a thread-free RTS? Simon Wright
2011-09-11 8:20 ` J-P. Rosen
2011-09-11 9:22 ` John B. Matthews
2011-09-11 9:49 ` anon
2011-09-11 10:29 ` Pascal Obry
2011-09-12 0:33 ` anon
2011-09-12 7:27 ` Simon Wright
2011-09-12 9:26 ` Ludovic Brenta
2011-09-12 9:49 ` Ludovic Brenta
2011-09-13 1:22 ` anon
2011-09-12 13:01 ` Robert A Duff
2011-09-11 10:36 ` Simon Wright
2011-09-12 7:19 ` Ludovic Brenta
2011-09-12 23:22 ` Rugxulo
2011-09-13 7:03 ` Ludovic Brenta
2011-09-13 7:55 ` Ludovic Brenta
2011-09-13 8:30 ` Simon Wright
2011-09-13 9:39 ` Georg Bauhaus
2011-09-13 12:18 ` Dmitry A. Kazakov
2011-09-13 14:02 ` Robert A Duff
2011-09-13 16:35 ` Dmitry A. Kazakov
2011-09-13 16:54 ` Georg Bauhaus
2011-09-13 20:35 ` Dmitry A. Kazakov [this message]
2011-09-13 21:22 ` Georg Bauhaus
2011-09-14 7:58 ` Dmitry A. Kazakov
2011-09-13 10:57 ` Peter C. Chapin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox