• Nils Goroll's avatar
    Flush until it's all down the drain · 32a9fd9f
    Nils Goroll authored
    VSLQ_Flush() vtx_force()s all incomplete transactions to be ready and calls
    vslq_process_ready().
    
    vslq_process_ready() retires vtxes until the callback returns with non zero,
    so if our dispatch callback does return with an error, flushing will stop,
    so we may end up with a non-empty ready list in vslq after calling flush
    just once.
    
    To ensure that we flushed everything and vtx_retire()d all vtxes
    (which may contain refs to chunk_t_bufs living in malloc()ed memory),
    we need to keep on flushing until we know the bowl is empty.
    32a9fd9f
Name
Last commit
Last update
..
mq Loading commit data...
test Loading commit data...
Makefile.am Loading commit data...
assert.c Loading commit data...
child.c Loading commit data...
config.c Loading commit data...
config_common.c Loading commit data...
data.c Loading commit data...
data.h Loading commit data...
handler.c Loading commit data...
log.c Loading commit data...
methods.h Loading commit data...
monitor.c Loading commit data...
parse.c Loading commit data...
sandbox.c Loading commit data...
signals.h Loading commit data...
spmcq.c Loading commit data...
trackrdrd.c Loading commit data...
trackrdrd.h Loading commit data...
vpf.c Loading commit data...
vpf.h Loading commit data...
vtim.c Loading commit data...
vtim.h Loading commit data...
worker.c Loading commit data...