Commit d79795be authored by rswindell's avatar rswindell
Browse files

Changed the yeild in the fcopy() loop to a "maybe yeild", sacrificing a bit of

CPU utilization to get a large file copy completed quicker.
parent 80eb72ce
......@@ -171,7 +171,7 @@ BOOL fcopy(const char* src, const char* dest)
break;
}
if(((count++)%(32*1024))==0)
YIELD();
MAYBE_YIELD();
}
fclose(in);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment