G
Luckie schrieb:
Stimmt, mein Fehler. Lies die Reamarks im PSDK, da steht der Unterschied.
Ich würde den aber lieber von dir hören.
WindowsKenner schrieb:
Sleep(0) kann auch garnichts bewirken. SwitchToThread switched immer.
Sehe ich nicht so.
MSDN schrieb:
If calling the SwitchToThread function causes the operating system to switch execution to another thread, the return value is nonzero.
If there are no other threads ready to execute, the operating system does not switch execution to another thread, and the return value is zero.