|
Motr
M0
|
#include <sm.h>

Data Fields | |
| struct m0_sm_timer | st_timer |
| struct m0_clink | st_clink |
| int | st_state |
| uint64_t | st_bitmask |
Structure used by m0_sm_timeout_arm() to record timeout state.
This structure is owned by the sm code, user should not access it. The user provides initialised (by m0_sm_timeout_init()) instance of m0_sm_timeout to m0_sm_timeout_arm(). After the timer expiration, the instance must be finalised (with m0_sm_timeout_fini()) and re-initialised before it can be used again.
| uint64_t st_bitmask |
| struct m0_clink st_clink |
| struct m0_sm_timer st_timer |