• Eric Wong's avatar
    directory: serialize song deletes from playlist during update · 7d8c9cc7
    Eric Wong authored
    This makes the update code thread-safe and doesn't penalize
    the playlist code by complicating it with complicated and
    error-prone locks (and the associated overhead, not everybody
    has a thread-implementation as good as NPTL).
    
    The update task blocks during the delete; but the update task is
    a slow task anyways so we can block w/o people caring too much.
    
    This was also our only freeSong call site, so remove that
    function.
    
    Note that deleting entire directories is not fully thread-safe,
    yet; as their traversals are not yet locked.
    7d8c9cc7
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...