diff options
author | jasone <jasone@FreeBSD.org> | 2001-05-18 00:36:05 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2001-05-18 00:36:05 +0000 |
commit | 3fbe60fc0d2cac4d9034372eb91fb1a12e58bfc2 (patch) | |
tree | 0d4f8d3ac0a4e88f2e63c4bbaf8288bce02e2b39 /usr.sbin | |
parent | 1a6e32f034bde4bab2cd5e6e40cb8cdb3795c1d2 (diff) | |
download | FreeBSD-src-3fbe60fc0d2cac4d9034372eb91fb1a12e58bfc2.zip FreeBSD-src-3fbe60fc0d2cac4d9034372eb91fb1a12e58bfc2.tar.gz |
Condition variable waiters are queued in descending priority order, so
there is no need to wake all waiters to assure that the highest priority
thread is run. As the semaphore code is written, there was no correctness
problem, but the change improves sem_post() performance.
Pointed out by: deischen
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions