mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
In these days, waiting one full second for more to appear is far too long.
Let's try 250ms.
This commit is contained in:
parent
acb902182f
commit
a3dd501081
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29402
@ -178,8 +178,8 @@ forward(fp, style, off, sbp)
|
||||
break;
|
||||
|
||||
/* Sleep(3) is eight system calls. Do it fast. */
|
||||
second.tv_sec = 1;
|
||||
second.tv_usec = 0;
|
||||
second.tv_sec = 0;
|
||||
second.tv_usec = 250000;
|
||||
if (select(0, NULL, NULL, NULL, &second) == -1)
|
||||
if (errno != EINTR)
|
||||
err(1, "select");
|
||||
|
Loading…
Reference in New Issue
Block a user