• Nils Goroll's avatar
    Do not mutate dying objects · f208f591
    Nils Goroll authored
    Avoid memory LRU racing disk LRU.
    
    Disk LRU uses the varnish-cache LRU facility, which works by setting
    the OC_F_DYING and gaining one reference, resulting in two references.
    
    One is lost again by the thread initiating the LRU nuke, the other by
    the EXP thread. Between the two events, the refcnt is one again, thus
    stvfe_mutate could race.
    
    I believe this fixes #23 and #24. If not, please reopen
    f208f591
Name
Last commit
Last update
LICENSES Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CHANGES.rst Loading commit data...
COPYING Loading commit data...
DEVELOPER.rst Loading commit data...
INSTALL.rst Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...