Change Sleep() time to 1ms to reduce pauses when running on single CPU system

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4329 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2007-11-27 02:50:59 +00:00
parent 24a7505cef
commit 6157b6c36a
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ Returns:
// //
mCpu->GetInterruptState (mCpu, &InterruptState); mCpu->GetInterruptState (mCpu, &InterruptState);
while (!InterruptState) { while (!InterruptState) {
gWinNt->Sleep (0); gWinNt->Sleep (1);
mCpu->GetInterruptState (mCpu, &InterruptState); mCpu->GetInterruptState (mCpu, &InterruptState);
} }