comp.lang.ada
 help / color / mirror / Atom feed
From: "AG" <ang@xtra.co.nz>
Subject: Re: Multitasking theory question
Date: Tue, 25 Jun 2002 14:01:23 +1200
Date: 2002-06-25T14:01:23+12:00	[thread overview]
Message-ID: <o8QR8.121$7G4.12770@news.xtra.co.nz> (raw)
In-Reply-To: 3D173788.8758A005@san.rr.com


"Darren New" <dnew@san.rr.com> wrote in message
news:3D173788.8758A005@san.rr.com...
> AG wrote:

> > Sure, it
> > may take ages for anything to happen if the computer is sufficiently
> > slow but you still can implement whatever scheduling you like.
>
> Uh, no. If you have a 3rd party device driver that blocks, then you can't
do
> non-blocking I/O to that device, regardless of what cleverness you set up
in
> your part of the program.

Well, let's take a step back and regard it as a theoretical question:
If you use something like "inc ax" - how do you know if it's blocking
or not? And how does it matter? Assuming the operation completes
*at all*, I still can write whatever scheduling I like and it will work
(albeit slowly). Basically, if you would allow some minimum set of
properties (like "inc ax" terminating in a finite time) then OS has
nothing to do with it. [Again, I agree that it may and, probably, would
be impracticable, but that doesn't mean it's impossible]

On the other hand, if you mean that scheduling can't be trusted because
of external mechanical faults which are non-deterministic - well, yes true.
You can also pull the cord from the plug and see what happens.

[Guess I'd better not cross-post *THAT* comment to VMS group:) ]





  parent reply	other threads:[~2002-06-25  2:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20 20:46 Multitasking theory question Kai Schuelke
2002-06-20 20:53 ` Stephen Leake
2002-06-21  2:13 ` Ted Dennison
2002-06-24  3:18   ` AG
2002-06-24  4:13     ` tmoran
2002-06-24  4:24       ` AG
2002-06-24  7:33         ` Dale Stanbrough
2002-06-25  3:27           ` AG
2002-06-25  4:48             ` tmoran
2002-06-25  5:00               ` AG
2002-06-25  5:17               ` Darren New
2002-06-25  5:25                 ` AG
2002-06-24  5:43     ` Mark Biggar
2002-06-24  6:48       ` AG
2002-06-24 15:14         ` Darren New
2002-06-24 16:19           ` Larry Kilgallen
2002-06-25  2:01           ` AG [this message]
2002-06-25  3:21             ` Darren New
2002-06-25  4:01               ` AG
2002-06-25  4:19                 ` Darren New
2002-06-25  4:51                   ` AG
2002-06-26  1:58                     ` Darren New
replies disabled

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