Merge pull request #2111
8261ba69
readline_buffer: fix busy wait (moneromooo-monero)
This commit is contained in:
commit
0c6ea4f8a6
|
@ -122,7 +122,7 @@ static int process_input()
|
||||||
struct timeval t;
|
struct timeval t;
|
||||||
|
|
||||||
t.tv_sec = 0;
|
t.tv_sec = 0;
|
||||||
t.tv_usec = 0;
|
t.tv_usec = 1000;
|
||||||
|
|
||||||
FD_ZERO(&fds);
|
FD_ZERO(&fds);
|
||||||
FD_SET(STDIN_FILENO, &fds);
|
FD_SET(STDIN_FILENO, &fds);
|
||||||
|
|
Loading…
Reference in New Issue