comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Unifying task & Distributed Annex
Date: Tue, 16 Jun 2009 20:16:53 +0000 (UTC)
Date: 2009-06-16T20:16:53+00:00	[thread overview]
Message-ID: <h18ujl$smj$1@aioe.org> (raw)
In-Reply-To: d833adf3-1520-4458-a24e-704117bc00ae@m19g2000yqk.googlegroups.com

> I think unifying Tasks & the Distributed Annex would be great.

They are different things.  You could write a normal program and easily
change it to a distributed program without ever using the pragma
Asynchronous.  That would let different CPUs, with different disks
containing different data files, run different parts of your
single-tasking program.  Thus a database read-only server partition
would likely not have any asynchronous procedures.  Using asynchronous
procedures in a distributed system is a low-level approach to
multi-tasking, foregoing all the help of Ada "task" handling.
For instance, the effect of
  select
    Operator_Call("Put out the fire");
  or
    delay 60.0;
    Call_Fire_Brigade;
  end select;
would need to be explicitly programmed if Operator_Call was an
asynchronous procedure in a remote partition, instead of an entry
in a task.



      parent reply	other threads:[~2009-06-16 20:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-16 15:05 Unifying task & Distributed Annex mamboking
2009-06-16 17:29 ` Jeffrey R. Carter
2009-06-16 20:16 ` tmoran [this message]
replies disabled

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