Re[2]: [Am-info] O/S 2 support - slightly off topic (my
apologies)
Eric M. Hopper
hopper@omnifarious.org
16 Mar 2002 20:22:06 -0600
On Sat, 2002-03-16 at 16:09, John Poltorak wrote:
> > Cooperative vs. preemptive
> > are CPU scheduling techniques. Multitasking vs. multithreading are
> > about sharing memory between tasks, and not CPU scheduling at all.
>
> OS/2 is both multitasking and multithreading, where every task consists of
> one or more threads. Those tasks share CPU not memory AFAIAA. The only
> time that memory is shared is when it is overcommitted and a task is
> swapped out to disk.
Threads are tasks that share memory. Tasks (including threads) share
CPU.
The 'vs.' in my above paragraph is not meant as 'either or' but as a
means of defining a spectrum or similarity. Kind of like saying 'red
vs. blue' and 'sweet vs. salty'.
Have fun (if at all possible),
--
The best we can hope for concerning the people at large is that they
be properly armed. -- Alexander Hamilton
-- Eric Hopper (hopper@omnifarious.org
http://www.omnifarious.org/~hopper) --