• Alessandro Rubini's avatar
    general: change timeout API · 6305e770
    Alessandro Rubini authored
    Several changes to the timeout API, simplifying the code and allowing
    more simplification later.
    
     * TO_ANN_INTERVAL renamed to TO_ANN_SEND (as opposed to TO_ANN_RECEIPT)
    
     * TO_SYNC renamed to TO_SYNC_SEND for symmetry with above
    
     * added timeout_init() to take not of the waiting values
    
     * timeout_set now receives only the index, not the value (see above)
    
     * __timeout_set added for those that want a specific value
    
     * timeout_rand is gone, as timeout_set knows which to randomize
    
     * all users fixed
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    6305e770
Name
Last commit
Last update
..
Makefile Loading commit data...
common-fun.c Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
state-wr-calibrated.c Loading commit data...
state-wr-calibration.c Loading commit data...
state-wr-link-on.c Loading commit data...
state-wr-locked.c Loading commit data...
state-wr-m-lock.c Loading commit data...
state-wr-present.c Loading commit data...
state-wr-resp-calib-req.c Loading commit data...
state-wr-s-lock.c Loading commit data...
wr-api.h Loading commit data...
wr-constants.h Loading commit data...
wr-msg.c Loading commit data...
wr-servo.c Loading commit data...