• Alessandro Rubini's avatar
    timeout: add pp_timeout_z and centralized logging · 78efba06
    Alessandro Rubini authored
    By zeroing the timeout whenever it expires, a number of
    state files get simplified a little. So pp_timeout_z() returns
    1 or 0 like pp_timeout(), but also clears the timeout when it is
    expired.
    
    Moreover, when a timeout expires a message is printed if the
    build-time option pp_verbose_time is set (and run-time verbosity is at
    level 2). In this way all timeouts are reported, or none of them.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    78efba06
Name
Last commit
Last update
..
Makefile Loading commit data...
arith.c Loading commit data...
bmc.c Loading commit data...
common-fun.c Loading commit data...
common-fun.h Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
msg.c Loading commit data...
open-close.c Loading commit data...
servo.c Loading commit data...
state-disabled.c Loading commit data...
state-faulty.c Loading commit data...
state-initializing.c Loading commit data...
state-listening.c Loading commit data...
state-master.c Loading commit data...
state-passive.c Loading commit data...
state-pre-master.c Loading commit data...
state-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...
timeout.c Loading commit data...