donV
--
Uwe S.V. Kubosch Milron Data Crusaders Productions
Amiga 4000/030, CSMKII060@50SCSI, 50MB RAM, 2.1GB HD, P96/PIV, GG2+, Ethernet
Web:<http://www.ifi.uio.no/~uwek/>
Crusaders:<http://www.crusaders.no/>
Uwe Sigurd Valentin Kubosch (uw...@har.ifi.uio.no) wrote:
:
: What is the difference between a task and a process?
Task can not call dos.library routines and is completely Exec-based,
process can do anything and is based on a combination of DOS and Exec.
You can think of tasks as being 'threads' and processes as being the
'tasks' on non-Amiga multitasking OS-es, but it is a somewhat dangerous
statement. Tasks can do process-like stuff just as easily, but only within
certain limitations.
Get our the RKMs, the DOS RefMan and the Guru Book for an in-depth expla-
nation of the difference.
Maarten
>What is the difference between a task and a process?
Well, quite a bit, actually. A process is a task with a lot of extra
stuff, as you can see by looking at the 'struct Task' definition in
<exec/tasks.h>, and the 'struct Process' definition in
<dos/dosextens.h>.
You'll find that a 'struct Process' has a 'struct Task' embedded at
the beginning, then adds a MsgPort, and 24 other fields with various
bit & pieces of data.
Usually there is no difference (other OSs). Regarding Amiga
process means a task is in "contact" to Amiga`s DOS.
Joern Plewka
Kato
Development Group