aboutsummaryrefslogtreecommitdiffstats
path: root/bs
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-13 09:55:07 +0200
committerMax Kellermann <max@duempel.org>2008-10-13 09:55:07 +0200
commit313405edb6bcd83d0a45338d8419fb7065cb565b (patch)
treef371afc72e6233a433f9cd527271a2cceec6a26d /bs
parent3035a3303d8b5696542012e0e05b75daf9601f9b (diff)
downloadmpd-313405edb6bcd83d0a45338d8419fb7065cb565b.tar.gz
mpd-313405edb6bcd83d0a45338d8419fb7065cb565b.tar.xz
mpd-313405edb6bcd83d0a45338d8419fb7065cb565b.zip
songvec: avoid holding nr_lock during free(3)
We only need to lock sv->nr changes to prevent traversals ( why it's called "nr_lock"). free(3) is a "slow" function on my system; so we can avoid unnecessarily holding a lock long for longer than needed.
Diffstat (limited to 'bs')
0 files changed, 0 insertions, 0 deletions