• Nils Goroll's avatar
    transit buffer without the timeout on the condition variable · caf49d8b
    Nils Goroll authored
    We do not need to periodically check the conditions in
    obj_extend_condwait() if we ensure that HSH_Cancel() triggers a
    wakeup.
    
    Readers on private objects need to ensure they call HSH_Cancel() if
    they abort the read, so this is consistent with our requirements.
    
    While we could add a seperate function to the object API for the sole
    purpose of signaling a cancel, HSH_Cancel() already calls
    ObjWaitState() to syncronize with the backend thread, so adding the
    signal there was deemed the simpler solution.
    
    As agreed during bugwash, Martin wants to add back the timeout
    as an optinal parameter (default: no timeout).
    caf49d8b
Name
Last commit
Last update
.circleci Loading commit data...
.github Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
vmod Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.lgtm.yml Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...
vtc.am Loading commit data...
wflags.py Loading commit data...