• Max Kellermann's avatar
    input/Stream: remove attribute "cond", replace with handler interface · d0fbf6db
    Max Kellermann authored
    This adds a bit of overhead, but also adds flexibility to the API,
    because arbitrary triggers may be invoked from that virtual method
    implementation, not just Cond::signal().
    
    The motivation for this is to make the handlers more dynamic, for the
    upcoming buffering class utilizing ProxyInputStream.
    d0fbf6db
test_rewind.cxx 4.07 KB