diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-02-03 04:55:24 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-02-03 04:55:24 +0000 |
commit | 37cfec7fef79ccd483161561cccdda547b0b5cd3 (patch) | |
tree | 5e048c8e8b10f39eaa5673b38b920ef9511ed3c0 /Makefile | |
parent | 8ec8ff7672ef4b6b99e145cdd609754f9c4cbb17 (diff) | |
download | FreeBSD-src-37cfec7fef79ccd483161561cccdda547b0b5cd3.zip FreeBSD-src-37cfec7fef79ccd483161561cccdda547b0b5cd3.tar.gz |
Don't dec/inc the amountpipes counter every time we resize a pipe --
instead, just dec/inc in the ctor/dtor. For now, increment/decrement
in two's, since we're now performing the operation once per pair,
not once per pipe. Not really any measurable performance change
in my micro-benchmarks, but doing less work is good, especially when
it comes to atomic operations.
Suggested by: alc
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions