comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Composing tasks and protected objects
Date: Mon, 08 Aug 2005 11:52:17 +0200
Date: 2005-08-08T11:52:17+02:00	[thread overview]
Message-ID: <87oe88bvse.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: feYIe.2038$WD.851@newsread1.news.pas.earthlink.net

* 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).



  reply	other threads:[~2005-08-08  9:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 17:26 Composing tasks and protected objects Florian Weimer
2005-08-05 17:49 ` Robert A Duff
2005-08-05 18:09   ` Florian Weimer
2005-08-05 18:26     ` Robert A Duff
2005-08-05 19:20       ` Florian Weimer
2005-08-07  1:27       ` Randy Brukardt
2005-08-08 21:55         ` Robert A Duff
2005-08-06  5:52 ` Jeffrey Carter
2005-08-08  9:52   ` Florian Weimer [this message]
2005-08-08 20:50     ` Randy Brukardt
2005-08-08 22:14       ` Robert A Duff
2005-08-06  9:01 ` Dmitry A. Kazakov
replies disabled

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