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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,115bda8caeda5fa4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.58.162 with SMTP id s2mr1581478pbq.20.1315946105020; Tue, 13 Sep 2011 13:35:05 -0700 (PDT) Path: m9ni5603pbd.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Does GNAT support a thread-free RTS? Date: Tue, 13 Sep 2011 22:35:03 +0200 Organization: cbb software GmbH Message-ID: <19h1e7wu3i2kl.17e3nq0mrs4jb$.dlg@40tude.net> References: <4e6f24c4$0$7629$9b4e6d93@newsspool1.arcor-online.net> <4e6f8ade$0$7620$9b4e6d93@newsspool1.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 1DYIQt8gT+V/xEXFYY/RtQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.lang.ada:17949 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2011-09-13T22:35:03+02:00 List-Id: 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