aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-08 01:49:39 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-12 05:27:33 -0700
commit7284123e3555159c6550d5ac57b8334bdd1af5c1 (patch)
tree6a6792b7abd2d3cdaf7c2bf0f99b9a95525e0019 /src/dirvec.h
parentafef3a6e68f4007f8e087b6ae359518ff59b04ef (diff)
downloadmpd-7284123e3555159c6550d5ac57b8334bdd1af5c1.tar.gz
mpd-7284123e3555159c6550d5ac57b8334bdd1af5c1.tar.xz
mpd-7284123e3555159c6550d5ac57b8334bdd1af5c1.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 'src/dirvec.h')
0 files changed, 0 insertions, 0 deletions