mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix return value of SwitchToThread.
svn path=/trunk/; revision=14336
This commit is contained in:
parent
b4e10fa87d
commit
5b1f9c5705
1 changed files with 3 additions and 3 deletions
|
@ -330,9 +330,9 @@ GetTeb(VOID)
|
|||
BOOL STDCALL
|
||||
SwitchToThread(VOID)
|
||||
{
|
||||
NTSTATUS errCode;
|
||||
errCode = NtYieldExecution();
|
||||
return TRUE;
|
||||
NTSTATUS Status;
|
||||
Status = NtYieldExecution();
|
||||
return Status != STATUS_NO_YIELD_PERFORMED;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue