[comp.sys.amiga] Processes & tasks

dillon@CORY.BERKELEY.EDU (Matt Dillon) (03/19/88)

>What is the difference between processes and tasks?
>
>People always seem to call a CLI a ask, when I think it is really
>a process.
>
>I presume processes are some super-structure of tasks, and that processes
>can own many tasks.
>
>Then there are interrupts ...
>

	A process is a superset of a task.  Essentially a task structure
with some additional fields that allow it to talk to DOS.  That is the
only difference.  A task can do anything a process can do with only that
one exception.

	A CLI is a process all right.

	There is also a distinction among processes.  A Processes can 
either have a CLI structure or not.  For instance, processes started from
the workbench do NOT have a CLI structure.  Processes started from a CLI
do have a CLI structure (the CLI).  In fact, if you get right down to it,
when you do something like:

	1> DIR

	The DIR command is not run as a new processes, but under the same
process running the CLI.  Only when you

	1> RUN DIR

	Does DIR get its own process (under a new CLI created by RUN).

						-Matt