ppt课件-distributedsystemsprogrammingwiththreads.pptVIP

  • 0
  • 0
  • 约4.05千字
  • 约 21页
  • 2017-01-25 发布于四川
  • 举报

ppt课件-distributedsystemsprogrammingwiththreads.ppt

ppt课件-distributedsystemsprogrammingwiththreads

Distributed systems Programming with threads Reviews on OS concepts Each process occupies a single address space Reviews on OS concepts A thread of (execution) control has its own PC counter, stack pointer etc within a process. Thread vs. Process Why threads? Thread allows running code concurrently within a single process Switching among threads is light-weight Sharing data among threads requires no inter-process communication Why processes? Fault isolation: One buggy process cannot crash others Why concurrent programming? Exploit multiple CPUs (multi-core) Exploit I/O concurrency Do some pro

文档评论(0)

1亿VIP精品文档

相关文档