Linux编程多线程课程.pptVIP

  • 7
  • 0
  • 约2.73万字
  • 约 94页
  • 2016-12-05 发布于江苏
  • 举报
Topics Threads Pthread Pthread Mutex Pthread Condition variables Pthread Main API Threads Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads Single vs. Multithreaded Processes use threads or processes? Why use threads instead of processes? Faster context switch Easier to share data Uses less memory and resources Thread creation faster than process creation Less things to set-up Why use processes instead of threads? Different code Running on different machines Different owners Little communication Sharing memory can lead to obscure bugs Use

文档评论(0)

1亿VIP精品文档

相关文档