diff options
author | bmilekic <bmilekic@FreeBSD.org> | 2000-11-04 21:55:25 +0000 |
---|---|---|
committer | bmilekic <bmilekic@FreeBSD.org> | 2000-11-04 21:55:25 +0000 |
commit | 51dc2fe61b8940dbc432704730be5023ad63813f (patch) | |
tree | 0aa5b27d639400649b8fb73a587dcce7889941db /contrib/tcsh/sh.dol.c | |
parent | eb3fe2715f807e0a842d013b49c3de7cbb0a79af (diff) | |
download | FreeBSD-src-51dc2fe61b8940dbc432704730be5023ad63813f.zip FreeBSD-src-51dc2fe61b8940dbc432704730be5023ad63813f.tar.gz |
Change the sf_bufs wakeups to be wakeup_one(), because we don't want to
wakeup all of the sleeping threads when we free only one buffer. This
avoids us having to needlessly try again (and fail, and go back to
sleep) for all the threads sleeping. We will now only wakeup the
thread we know will succeed.
Reviewed by: green
Diffstat (limited to 'contrib/tcsh/sh.dol.c')
0 files changed, 0 insertions, 0 deletions