mirror of
https://github.com/git/git.git
synced 2026-02-07 08:15:23 +00:00
Merge 'poll-busy-wait' into HEAD
This commit is contained in:
@@ -605,7 +605,9 @@ restart:
|
||||
|
||||
if (!rc && timeout == INFTIM)
|
||||
{
|
||||
SwitchToThread();
|
||||
/* Sleep 1 millisecond to avoid busy wait */
|
||||
SleepEx(1, TRUE);
|
||||
|
||||
goto restart;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user