🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.powerpc
Article #1768

Re: Ask yourself these before you choosing a 32bit OS...

#1768
From: Jesse
Date: Mon, 28 Aug 1995 18:34
68 lines
3520 bytes
c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:

>In article <fyock-2308950935260001@144.212.1.78>,
>Lee Fyock <fyock@mathworks.com> wrote:
> >In article <41d4a5INNgj0@keats.ugrad.cs.ubc.ca>, c2a192@ugrad.cs.ubc.ca
> >(Kazimir Kylheku) wrote:
> >
> >> Multitasking means that you at least
> >> simulate concurrency using time slicing.
>
> >Yes, but how you time-slice depends on the implementation of "multitasking".

>And if you don't time-slice you don't have multitasking. You can call it
>"cooperative" to save face, and provide your MacOS or Win 3.x userbase
>with a buzzword.

If you don't time-slice, you don't have multitasking?  That's silly.

Although, this isn't terribly relevant for general purpose operating
systems, there are fully preemptive multitasking systems that don't 
use time-slicing at all.  Many real-time kernels, for example.

Hell, you could have a fully preemptive kernel that doesn't do any time
slicing managing different schedulers whether they be preemptive, 
non-preemptive, time-slicing or even just a single task.  Sheesh.

There are situations where a non-preemptive multitasking system works
_considerably_ better than a preemptive system would.

Personally, I'd never use anything but a preemptive time-slicing scheme
for a general purpose operating system, but to deny that other schemes
don't exist or are not useful at times is just plain silly.

> >> It means that other tasks are
> >> truly running whether or not my program yields.
> >
> >That's "pre-emptive" "multitasking".

>Only kind there is.

See above.

> >> It means that I
> >> can send signals and messages to that program from another program.
> >
> >No, that's "inter-process communication", which has little or nothing to
> >do with multitasking.

>It has everything to do with multi-tasking. You can't send a message
>or signal to a process that is hogging the CPU. You can't have
>any sort of asynchronous notification of incoming messages.

That's like saying, "You can't send a message or signal to a process when 
my process is not running."  OF COURSE NOT.  It's just like that with a 
time-slicing preemptive scheduler.

Sending messages and signals from one process to another process doesn't
really have very much to do with the scheduling mechanism.

No asynchronous notification of incoming messages?  Interrupts.  Heard of
those?  Nifty things.  Useful too.  Funny how that works.  Sheesh.

Sure when a non-preemptive scheduler, when a high priority process receives
a message, it won't start executing >NOW<, it has to wait until the 
currently running process yields the processor, but that doesn't mean that
processes can't send and receive signals and messages.  
-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
Technical Details
Message-ID: <41t27h$hen@thetics.europa.com>
Path: arc1-ca.pugleaf.net!europa.com!not-for-mail
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <418hv3$451@steel.interlog.com> <41d4a5INNgj0@keats.ugrad.cs.ubc.ca> <fyock-2308950935260001@144.212.1.78> <41g5h1INN92h@keats.ugrad.cs.ubc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!europa.com!not-for-mail
From: jdm@atheria.europa.com (Jesse)
Newsgroups: comp.sys.powerpc,comp.os.linux.advocacy,comp.sys.mac.advocacy,comp.os.os2.advocacy,comp.sys.amiga.advocacy,comp.sys.intel,alt.2600,comp.os.ms-windows.advocacy
Subject: Re: Ask yourself these before you choosing a 32bit OS...
Date: 28 Aug 1995 11:34:25 -0700
Organization: Europa Communications, Inc, Portland Oregon USA
Message-ID: <41t27h$hen@thetics.europa.com>
References: <3vh2hc$9dd@falcon.ccs.uwo.ca> <418hv3$451@steel.interlog.com> <41d4a5INNgj0@keats.ugrad.cs.ubc.ca> <fyock-2308950935260001@144.212.1.78> <41g5h1INN92h@keats.ugrad.cs.ubc.ca>
NNTP-Posting-Host: thetics.europa.com