|
|
|
|
|
|
|
|
|
|
|
|
n |
A process is
a collection of one or more threads
|
|
|
that can run
simultaneously
|
|
|
n |
Useful when
the application consists of several
|
|
|
tasks that do
not need to be serialized
|
|
|
n |
Gives the
programmer a greater control over the
|
|
|
timing of
application-related events
|
|
|
n |
All threads
within the same process share the
|
|
|
same data and
resources and a part of the
|
|
|
process’s
execution context
|
|
|
n |
It is easier
to create or destroy a thread or switch
|
|
among threads
(of the same process) than to do
|
|
|
these with
processes
|
|