核心编程跟 msdn有冲突的地方,请专家斧正

核心编程和 msdn有冲突的地方,请专家斧正
1.

windows的可调度线程指的是什么?



线程优先级+ 饥饿时间==总和

根据这个总和来调度线程。线程总和越大,优先调度。

可调度线程指的是:总和最大的那几个线程。 



2. Sleep(0) 在核心编程中说会调度》= 调用者线程的优先级。

可是msdn却说,server2003后,Windows XP:  A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. 

If there are no other threads of equal priority ready to run, 

the function returns immediately, and the thread continues execution. This behavior changed starting with Windows Server 2003.

顺便说一下,msdn对sleep的解释很含糊,

wMilliseconds [in]
The time interval for which execution is to be suspended, in milliseconds.


核心编程解释: 这个时间间隔不是准确的, 线程被挂起的间隔》=wMilliseconds

------解决方案--------------------
引用:
估计核心编程是根据那个泄露的2000源码写的
XP后的系统和2000内核有所不同了

XP后,貌似Sleep(0)和SwitchToThread调度方式一样了


哦,是2003后

Sleep(0),调度所有可调度线程