… | |
… | |
5 | *----------------------------------------------------------------------- |
5 | *----------------------------------------------------------------------- |
6 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
6 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
7 | * |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify |
8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
10 | * the Free Software Foundation; either version 2 of the License, or |
10 | * the Free Software Foundation; either version 3 of the License, or |
11 | * (at your option) any later version. |
11 | * (at your option) any later version. |
12 | * |
12 | * |
13 | * This program is distributed in the hope that it will be useful, |
13 | * This program is distributed in the hope that it will be useful, |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
… | |
… | |
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 |