And when it does perform a thread switch, it tends to do it in the same place whenever you run the program.
并且当它确实执行了线程切换时,每次运行程序时它往往都在同一个位置进行切换。
One thread asking another for information can cause a thread switch, or one thread preempting another can cause a thread switch.
当一个线程向另一个线程请求信息时,就可能引起线程切换。
应用推荐