diff options
| author | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:18:29 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:18:29 -0700 |
| commit | 7461a3e9fca9b73e35386a1d8a2de2cf8b444871 (patch) | |
| tree | 632b941b7c4552158583ee9dd99db3e94151fe84 | |
| parent | Merge branch 'jk/utf8-switch-between-nfd-and-nfc' (diff) | |
| parent | compat/poll: sleep 1 millisecond to avoid busy wait (diff) | |
| download | git-7461a3e9fca9b73e35386a1d8a2de2cf8b444871.tar.gz git-7461a3e9fca9b73e35386a1d8a2de2cf8b444871.zip | |
Merge branch 'tl/relax-in-poll-emulation'
* tl/relax-in-poll-emulation:
compat/poll: sleep 1 millisecond to avoid busy wait
| -rw-r--r-- | compat/poll/poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/poll/poll.c b/compat/poll/poll.c index 31163f2ae7..a9b41d89f4 100644 --- a/compat/poll/poll.c +++ b/compat/poll/poll.c @@ -605,7 +605,7 @@ restart: if (!rc && timeout == INFTIM) { - SwitchToThread(); + SleepEx (1, TRUE); goto restart; } |
