Copyright © 2001 Qusay H. Mahmoud
4
Tasks and Processes
lA task is the execution of a sequential program (or a sequential program within a concurrent program)
lA process is used in Operating Systems (OS) as a unit of resource allocation for CPU and memory
lA traditional OS process has a single thread of control (i.e. no internal concurrency)
lModern OS allow a process known as a heavyweight process (i.e. with multiple threads of control – concurrency within the process)