Abstract


  • Responsible to carry out some features of a Process (进程)
  • Threads in a process share the same Address Space & other per-process items as shown below


Blocking Thread

  • Thread doesn’t do anything while waiting for IO Operations or Network Operations etc

Non-blocking Thread

  • Thread carries out other tasks if the current tasks require it to wait for IO Operations or Network Operations etc
  • Goes back to the current task when the waiting ends - Call back
  • However, it still blocks when the task is CPU Bounded

Thread Table


PThread