How Linux handles threads and process scheduling

前端 未结 3 1349
南方客
南方客 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

    Under LINUX there is no concept of threads,to make LINUX POSIX complaint thread is nothing but another process.when you try to get a process id it would display the leader process id under any thread. For more details try to refer this book "Understanding LINUX kernel".Hope

提交回复
热议问题