comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank" <franjoe@frisurf.no>
Subject: Re: Ada Tasks vs Linux processes
Date: Mon, 2 Apr 2001 21:57:44 +0200
Date: 2001-04-02T21:57:44+02:00	[thread overview]
Message-ID: <4R4y6.3229$R6.68334@news1.oke.nextra.no> (raw)
In-Reply-To: b%Nx6.4387$mA.1548299@newsrump.sjc.telocity.net

Hi!

It seems to me (after some more searching in select -statement variations)
that the I should use the construction select...or.._else_ to achieve what I
intended.

But this disussion brings another question to my mind; from some e-threads I
read here I have got the impression that I _have_ to perform delay n; in the
code so that all tasks get a slice of the execution (perhaps this goes for
OS or CPU that does not handle HW multitasking or something?) Is this a
true, or can I assume that Ada (and/or the OS it is running in) slices
executions on every platform it is implemented?
I can understand that a delay n; makes good sense if a task does not have to
execute continously and a delay therefore can give execution slices to other
tasks instead.

Frank





  parent reply	other threads:[~2001-04-02 19:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-01 15:27 Ada Tasks vs Linux processes Frank
2001-04-01 22:32 ` David C. Hoos, Sr.
2001-04-02 17:30   ` tmoran
2001-04-02 18:00     ` Robert A Duff
2001-04-02 18:20       ` Ehud Lamm
2001-04-02 22:17     ` Jeffrey Carter
2001-04-04 16:36       ` tmoran
2001-04-04 17:18         ` Gary Scott
2001-04-04 19:18           ` tmoran
2001-04-02 19:57   ` Frank [this message]
2001-04-03 11:28     ` Matthias Kretschmer
replies disabled

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