09-10-2010, 03:52 PM
CS 194: Distributed Systems Processes, Threads, Code Migration
Problem
Escape the curse of blocking!
A spreadsheet should be able to recompute the values while waiting for user input
A file server should be able to serve other clients while waiting a disk read to complete
…
Solutions
Multi-processing
Multi-threading
One process + event driven programming
What is a Process?
Execution context
Program counter (PC)
Stack pointer (SP)
Data registers
Code
Data
Stack
For more information about this article,please follow the link:
http://googleurl?sa=t&source=web&cd=1&ve...Thread.ppt&ei=0kGwTLf4IcOAlAeuk-zbBA&usg=AFQjCNH_L1UIp1yWaH8ZID5DMSESPUflYg