Re: Linux doing "cooperative multitasking"?

Wayne Schlitt (wayne@backbone.midwestcs.com)
27 Nov 1996 13:41:29 -0600


In <Pine.LNX.3.94.961127082017.30767A-100000@Cavern.NMSU.Edu> Derrik Pates <dpates@cavern.nmsu.edu> writes:
> > Is Linux doing only "cooperative multitasking"?
>
> No. Cooperative multitasking is a severely broken method, which as far as
> I know is only used by M$ WinDog. Trusting the applications to multitask
> was stupid when M$ started to use it, and the people who have created and
> now maintain Linux would never use such a bad multitasking method.

Cooperative multitasking is only a severely broken method when it is
used for the wrong purposes. The same can be said about must about
any other method.

I recently finished a project where I used cooperative multitasking
for the first time and I found it to be a big plus, because:

* I couldn't afford the 16k of memory that the preemptive
multitasking kernel took up. (This was an embedded system that
had 64k of memory.)

* cooperative multitasking simplifies a lot of the interprocess
communication problems. You don't have to worry about semaphores
as much since you know that you won't lose control until you say
so.

-wayne

-- 
Wayne Schlitt can not assert the truth of all statements in this
article and still be consistent.