comp.lang.ada
 help / color / mirror / Atom feed
From: franke@pax10f.mipool.uni-jena.de (Frank Ecke)
Subject: Re: why use "task"?
Date: 1998/08/11
Date: 1998-08-11T00:00:00+00:00	[thread overview]
Message-ID: <slrn6t0gl6.7ei.franke@pax10f.mipool.uni-jena.de> (raw)
In-Reply-To: 35C9F862.5942A291@imap4.asu.edu

On Thu, 06 Aug 1998 11:39:30, Te-Cheng, Shen <techeng@imap4.asu.edu> wrote:


>Hi:
>    What is "task" used for? I know how to use it but dont know when we
>will use it? Can anyone give me a " real example?" It means we will use
>it
>in reality, not just for demostrating.
>
>Thanks in advance
>
>Shen
>
>


A task is Ada's concept of expressing concurrency within a program.  Tasks are
entities that execute in parallel.  Each task represents a separate thread of
control and runs independently between the points where it interacts with other
tasks.
   Examples of using tasks are applications requiring the use of concurreny:
large and complex systems (which are inherently concurrent), such as avionics
systems, industry controlling systems, robots, spacecrafts, databases, missile
control facilities, and so forth.  Additionally, if you wish to exploit multi-
processor hardware, tasks are a suitable means to do so.
   In essence, tasks allow you to cope with what is known as multitasking or
multithreading.

   From my point of view, the powerful tasking concept incorporated into Ada
adds to the beauty of the language.


Regards,

Frank




  reply	other threads:[~1998-08-11  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-06  0:00 why use "task"? Te-Cheng, Shen
1998-08-11  0:00 ` Frank Ecke [this message]
1998-08-12  0:00   ` Marc A. Criley
1998-08-12  0:00     ` Frank Ecke
1998-08-12  0:00 ` Tom Moran
1998-08-17  0:00 ` Dr. Hubert B. Keller
1998-08-17  0:00   ` Frank Ecke
replies disabled

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