… | |
… | |
282 | /* |
282 | /* |
283 | * Enable the linux yield/usleep hack, which can dramatically improve |
283 | * Enable the linux yield/usleep hack, which can dramatically improve |
284 | * performance by working around the linux kernel tty ratelimit bug. |
284 | * performance by working around the linux kernel tty ratelimit bug. |
285 | * Unfortunately, it seems screen is negatively affected by this on some |
285 | * Unfortunately, it seems screen is negatively affected by this on some |
286 | * machines, so it is disabled by default. Use freebsd or any other kernel |
286 | * machines, so it is disabled by default. Use freebsd or any other kernel |
287 | * that doesn't suffer form this bug and it will be fast either way. |
287 | * that doesn't suffer from this bug and it will be fast either way. |
288 | * |
288 | * |
289 | * See command.C for details. |
289 | * See command.C for details. |
290 | */ |
290 | */ |
291 | #if __linux__ |
291 | #if __linux__ |
292 | # define LINUX_YIELD_HACK 0 |
292 | # define LINUX_YIELD_HACK 0 |