Process &
Thread
Chapter 6.
2018-2019
COMP3330 Interactive Mobile Application Design and Programming
Dr. T.W. Chim (E-mail:
[email protected]
)
Department of Computer Science, The University of Hong Kong

Process
Basic unit of application execution
Don’t share stuff (e.g. state or memory) with each
other
Context switch expensive
Thread
Natural for one app to contain multiple threads
Share stuff (e.g. state and memory)
Parallel computing
Process vs. Thread
2
