定義:OS分配 CPU time 時的基本單位,又稱作Lightweight Process ; LWP

共享資源 私有資源
Data section : Global variable PC
Code section ( Text section ) CPU Register
Static local variable Stack : Local Variable
Heap memory
OS Resource 如IO設備

Heap Memory : ⚠️

Unix System call 🌟 #計算翻講義

好處🌟:

缺點🌟:

Process vs Thread 🌟

User Thread vs Kernel Thread

Process Control Operation

Zombie vs Orphan

Thread Pool


以下為 Threading Issues

Semantics of fork() and exec(),fork 呼叫一個 thread 或 all thread?

Signal handling

Thread cancellation

Thread-local storage

Light Weight Process ; LWP

Thread Library : Pthreads

Implicit Threading Method