lkml.org 
[lkml]   [1996]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux doing "cooperative multitasking"?
From
Date

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.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:3.652 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site