diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-08 01:49:39 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-10-12 05:27:33 -0700 |
commit | 7284123e3555159c6550d5ac57b8334bdd1af5c1 (patch) | |
tree | 6a6792b7abd2d3cdaf7c2bf0f99b9a95525e0019 /m4/shout.m4 | |
parent | afef3a6e68f4007f8e087b6ae359518ff59b04ef (diff) | |
download | mpd-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 'm4/shout.m4')
0 files changed, 0 insertions, 0 deletions