COMP3330_Ch6_Process_Thread.pdf - Chapter 6 Process Thread 2018-2019 COMP3330 Interactive Mobile Application Design and Programming Dr T.W Chim(E-mail

COMP3330_Ch6_Process_Thread.pdf - Chapter 6 Process Thread...

This preview shows page 1 - 12 out of 41 pages.

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
Image of page 1
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
Image of page 2