Fix return value of SwitchToThread.
Modified: trunk/reactos/lib/kernel32/thread/thread.c
_____
Modified: trunk/reactos/lib/kernel32/thread/thread.c
--- trunk/reactos/lib/kernel32/thread/thread.c 2005-03-26 20:14:06 UTC
(rev 14335)
+++ trunk/reactos/lib/kernel32/thread/thread.c 2005-03-26 21:16:42 UTC
(rev 14336)
@@ -330,9 +330,9 @@
BOOL STDCALL
SwitchToThread(VOID)
{
- NTSTATUS errCode;
- errCode = NtYieldExecution();
- return TRUE;
+ NTSTATUS Status;
+ Status = NtYieldExecution();
+ return Status != STATUS_NO_YIELD_PERFORMED;
}