Re[2]: [Am-info] O/S 2 support - slightly off topic (my apologies)
John Poltorak
jp@eyup.org
Sun, 17 Mar 2002 12:04:41 +0000
On Sat, Mar 16, 2002 at 08:22:06PM -0600, Eric M. Hopper wrote:
> 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.
Threads are not tasks, they are sub-tasks. Each task is identified by a
process id, and one or more threads execute within that task.
> Tasks (including threads) share
> CPU.
>
> 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) --
--
John