Aaron Scott-Boddendijk wrote:

> > Whats the technical difference between multitasking and multithreading?
>
> Multi-tasking is generally what an OS does to allow several independant programs
> to perform their own work (appearing to the user as if it's simultaneous).
>
> Multi-threading is usually the concept of several interdependant streams of
> execution working together to reach a common goal.

The common goal being that the threads all belong to the same process. Each thread in a
process has its own stack, but all the threads in a process share other resources like 
a
heap, file handles, etc. Processor time is scheduled between threads, which are 
contained
within processes.

So multi-tasking is a general term that refers to scheduling of processor time between
threads (or between processes in an OS that does not support multi-threading). And
multi-threading is a specific type of multi-tasking.

Kevin Wells

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to