• antirez's avatar
    ae.c: insetad of not firing, on AE_BARRIER invert the sequence. · 9d797fe1
    antirez authored
    AE_BARRIER was implemented like:
    
        - Fire the readable event.
        - Do not fire the writabel event if the readable fired.
    
    However this may lead to the writable event to never be called if the
    readable event is always fired. There is an alterantive, we can just
    invert the sequence of the calls in case AE_BARRIER is set. This commit
    does that.
    9d797fe1
ae.c 16.6 KB