• Dridi Boukelmoune's avatar
    Make Lck_AssertHeld trigger in the caller's code · 98204cba
    Dridi Boukelmoune authored
    The `held == 0` branch in the Lck__AssertHeld function is *never*
    taken and `cache.h` instructs to only use the macro. Being generated
    from calling code, the panic message becomes more informative.
    
    Panic messages were up until now not very helpful:
    
        Assert error in Lck__Assert(), cache/cache_lck.c line 175:
        Condition(ilck->held) not true.
    98204cba
Name
Last commit
Last update
..
varnishadm Loading commit data...
varnishd Loading commit data...
varnishhist Loading commit data...
varnishlog Loading commit data...
varnishncsa Loading commit data...
varnishstat Loading commit data...
varnishtest Loading commit data...
varnishtop Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
flint.lnt Loading commit data...