… | |
… | |
389 | |
389 | |
390 | /*--------------------------------OTHER---------------------------------*/ |
390 | /*--------------------------------OTHER---------------------------------*/ |
391 | |
391 | |
392 | /* |
392 | /* |
393 | * Enable the linux yield/usleep hack, which can dramatically improve |
393 | * Enable the linux yield/usleep hack, which can dramatically improve |
394 | * performance without hurting. See command.C for details. |
394 | * performance by working around the linux kernel tty ratelimit bug. |
|
|
395 | * Unfortunately, it seems screen is negatively affected by this on some |
|
|
396 | * machines, so it is disabled by default. Use freebsd or any other kernel |
|
|
397 | * that doesn't suffer form this bug and it will be fast either way. |
|
|
398 | * |
|
|
399 | * See command.C for details. |
395 | */ |
400 | */ |
396 | #if __linux__ |
401 | #if __linux__ |
397 | # define LINUX_YIELD_HACK 1 |
402 | # define LINUX_YIELD_HACK 0 |
398 | #endif |
403 | #endif |
399 | |
404 | |
400 | #endif |
405 | #endif |
401 | |
406 | |