summaryrefslogtreecommitdiff
path: root/usr.bin/progress
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2003-01-21 23:29:22 +0000
committernathanw <nathanw@NetBSD.org>2003-01-21 23:29:22 +0000
commitdc651e62dfb3627eb95f982adfae545d2c828a26 (patch)
tree406953fd9b4da50e3760cc5ec15cbcfc54dcfa98 /usr.bin/progress
parent6003a24dd4f8c1c10326b22ff83dfbeba09d7101 (diff)
Don't bother acquiring the tsd_lock and reading the destructor function
if the corresponding TSD entry is empty. Cuts down lock/unlock pairs for this operation from 256 to the number of active TSD entries; sicne this is done when every thread exits, it saves many total lock/unlock pairs.
Diffstat (limited to 'usr.bin/progress')
0 files changed, 0 insertions, 0 deletions