13.07.2015 Views

操作系统概念 4. Threads - 东南大学计算机科学与工程学院

操作系统概念 4. Threads - 东南大学计算机科学与工程学院

操作系统概念 4. Threads - 东南大学计算机科学与工程学院

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Generated by Foxit PDF Creator © Foxit Softwarehttp://www.foxitsoftware.com For evaluation only.<strong>4.</strong> <strong>Threads</strong> <strong>4.</strong>1 Overview <strong>4.</strong>2 Multithreading Models <strong>4.</strong>3 Thread Libraries <strong>4.</strong>4 Threading Issues <strong>4.</strong>5 Operating System ExamplesBaili Zhang/ Southeast 3<strong>4.</strong>1 Overview A thread is a basic unit of CPU utilization It comprises A thread ID A program counter A register set A stack It shares with other threads belonging tothe same process Code section Data section Other OS resource, such as open file andsignalsBaili Zhang/ Southeast 42

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!