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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,97f543c7a63b8839 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.germany.com!news.belwue.de!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Composing tasks and protected objects Date: Mon, 08 Aug 2005 11:52:17 +0200 Message-ID: <87oe88bvse.fsf@mid.deneb.enyo.de> References: <87iryk1eic.fsf@mid.deneb.enyo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: albireo.enyo.de 1123494756 7554 212.9.189.177 (8 Aug 2005 09:52:36 GMT) X-Complaints-To: Cancel-Lock: sha1:pY6+ZzuSnQrno7xAh0ZBaXjs5ZU= Xref: g2news1.google.com comp.lang.ada:4028 Date: 2005-08-08T11:52:17+02:00 List-Id: * Jeffrey Carter: > You need all calls to go the same way. Right now you're trying to do > something like > > +----------+ +----------+ +----------+ > | | | | | | > | Q |<--Get----| Server |<--Shut---| ? | > | | | | Down | | > | | | |<--Reload-| | > | | | | | | > +----------+ +----------+ +----------+ > > where arrows indicate direction of call. This won't work, but it will > work if you can turn that call to Get around. For this, you need a > forwarder between the Queue and Server: > > +----------+ +----------+ +----------+ +----------+ > | | | | | | | | > | Q |<-Get--| Forwarder|--Msg->| Server |<-Etc--| ? | > | | | | | | | | > +----------+ +----------+ +----------+ +----------+ This introduces overhead in terms of an additional task, and the Forwarder and Server are strongly coupled (unless you manually write wrappers, because access-to-entry types are missing).