华南理工大学研究生课程操作系统与系统编程讲义06Thread.pptVIP

  • 2
  • 0
  • 约1.12万字
  • 约 35页
  • 2018-01-13 发布于湖北
  • 举报

华南理工大学研究生课程操作系统与系统编程讲义06Thread.ppt

华南理工大学研究生课程操作系统与系统编程讲义06Thread.ppt

Thread Benefits of thread Simplify handle event Share memory and file descriptors Throughput can be improved Improved response time Process items - Address space -?? Global variables -?? Open files, -????Current working directory -????Timers -????Signals -????Semaphores -????Accounting information -????User and group Ids Thread items - Thread ID - Program counter - Stack (for local variables and return addresses) - State -? Register set - Priority -? Errno Thread Identification A thread ID is represented by the pthread_t data type - Linux 2.4.22 : unsigned long in

文档评论(0)

1亿VIP精品文档

相关文档