mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
The smart scheduler is not optional.
This commit is contained in:
parent
2e2ce817ce
commit
9f9268821b
11 changed files with 0 additions and 63 deletions
6
os/io.c
6
os/io.c
|
|
@ -411,11 +411,9 @@ ReadRequestFromClient(ClientPtr client)
|
|||
FD_SET(fd, &ClientsWithInput);
|
||||
else
|
||||
{
|
||||
#ifdef SMART_SCHEDULE
|
||||
if (!SmartScheduleDisable)
|
||||
FD_CLR(fd, &ClientsWithInput);
|
||||
else
|
||||
#endif
|
||||
YieldControlNoInput();
|
||||
}
|
||||
}
|
||||
|
|
@ -423,16 +421,12 @@ ReadRequestFromClient(ClientPtr client)
|
|||
{
|
||||
if (!gotnow)
|
||||
AvailableInput = oc;
|
||||
#ifdef SMART_SCHEDULE
|
||||
if (!SmartScheduleDisable)
|
||||
FD_CLR(fd, &ClientsWithInput);
|
||||
else
|
||||
#endif
|
||||
YieldControlNoInput();
|
||||
}
|
||||
#ifdef SMART_SCHEDULE
|
||||
if (SmartScheduleDisable)
|
||||
#endif
|
||||
if (++timesThisConnection >= MAX_TIMES_PER)
|
||||
YieldControl();
|
||||
if (move_header)
|
||||
|
|
|
|||
Loading…
Reference in a new issue