Thread Quantum?

前端 未结 5 1051
不知归路
不知归路 2020-12-16 13:01

What is a thread quantum, and how can I identify it on my system?

5条回答
  •  抹茶落季
    2020-12-16 13:32

    Check out this tutorial on thread quanta and scheduling

    In particular:

    Each thread has a quantum, which is effectively how long it is allowed to keep hold of the CPU if:

    it remains runnable;

    the scheduler determines that no other thread needs to run on that CPU instead.

提交回复
热议问题