mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTVDM]: at the end of a cpu slice, yield execution to other threads in the system.
svn path=/trunk/; revision=67851
This commit is contained in:
parent
bac6c8579c
commit
a4585313a5
1 changed files with 4 additions and 1 deletions
|
@ -118,6 +118,9 @@ VOID ClockUpdate(VOID)
|
||||||
/* Update the time of the last timer tick */
|
/* Update the time of the last timer tick */
|
||||||
Timer->LastTick.QuadPart += Ticks * Timer->Delay;
|
Timer->LastTick.QuadPart += Ticks * Timer->Delay;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Yield execution to other threads */
|
||||||
|
NtYieldExecution();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue