How Linux handles threads and process scheduling

前端 未结 3 1357
南方客
南方客 2020-11-29 20:28

I\'m trying to understand how Linux handles process scheduling and thread scheduling. I read that Linux can schedule both processes and threads.

Does Linux have a th

3条回答
  •  余生分开走
    2020-11-29 21:21

    Kernel threads under Linux are implemented as processes that share resources. The scheduler does not differentiate between a thread and a process

    See here for more information: http://www.linuxquestions.org/linux/articles/Technical/Linux_Kernel_Thread

提交回复
热议问题