comp.lang.ada
 help / color / mirror / Atom feed
From: Dmitry A. Kazakov <mailbox@dmitry-kazakov.de>
Subject: Re: ADA Tasks
Date: Tue, 03 Dec 2002 15:37:33 +0100
Date: 2002-12-03T15:37:33+01:00	[thread overview]
Message-ID: <9kfpuu4vlb0vm2j74911icc17b4cme21kc@4ax.com> (raw)
In-Reply-To: asfv3a$e2m$1@s1.read.news.oleane.net

On Mon, 2 Dec 2002 16:46:45 +0100, "Jean-Pierre Rosen"
<rosen@adalog.fr> wrote:

>"Robert A Duff" <bobduff@shell01.TheWorld.com> a �crit dans le message news:
>wccbs44qwoz.fsf@shell01.TheWorld.com...
>> khurmie@hotmail.com (Khuram Imtiaz) writes:
>>
>> However, protected objects are often a better way to communicate than
>> rendezvous, because they decouple the communicating tasks.  They are
>> also more efficient on many implementations.
>>
>However, they make proper termination more difficult,

... and they are unable to exchange data. Technically it is possible
using Requeue, but it is so painful and error prone that one should
better use rendezvous [for that].

>and are (IMHO) of lower level than rendezvous.

A level measured in what? (:-)) They are really difficult to compare.
But both have the same problem, they do not very support refactoring.
Neigther protected object nor task can be extended or split, leaving
the interface intact.

>As usual, having a choice means that you have to make a choice...

!

---
Regards,
Dmitry Kazakov
www.dmitry-kazakov.de



  reply	other threads:[~2002-12-03 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-02  2:37 ADA Tasks Khuram Imtiaz
2002-12-02  4:56 ` James S. Rogers
2002-12-02  6:56 ` Richard Riehle
2002-12-02 15:15 ` Robert A Duff
2002-12-02 15:46   ` Jean-Pierre Rosen
2002-12-03 14:37     ` Dmitry A. Kazakov [this message]
2002-12-03 22:06       ` Simon Wright
2002-12-04 13:52         ` 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