Thread Quantum?

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

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

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-16 13:23

    How do you measure length? velocity? mass? It is the same thing with threads and processes.

    A quantum is a unit of time. Programmers don't talk about the time that each thread is supposed to work in seconds, milliseconds or microseconds but in abstract unit of time called quantum.

提交回复
热议问题