Motr  M0
m0_sm_timer Struct Reference

#include <sm.h>

Collaboration diagram for m0_sm_timer:
Collaboration graph

Data Fields

struct m0_sm_grouptr_grp
 
struct m0_timer tr_timer
 
struct m0_sm_ast tr_ast
 
void(* tr_cb )(struct m0_sm_timer *)
 
int tr_state
 

Detailed Description

State machine timer.

A state machine timer is associated with a state machine group and executes a specified call-back after a specified deadline and under the group lock.

Definition at line 611 of file sm.h.

Field Documentation

◆ tr_ast

struct m0_sm_ast tr_ast

Definition at line 614 of file sm.h.

◆ tr_cb

void(* tr_cb) (struct m0_sm_timer *)

Call-back to be executed after timer expiration.

Definition at line 616 of file sm.h.

◆ tr_grp

struct m0_sm_group* tr_grp

Definition at line 612 of file sm.h.

◆ tr_state

int tr_state

Timer state from enum timer_state (sm.c).

Definition at line 620 of file sm.h.

◆ tr_timer

struct m0_timer tr_timer

Definition at line 613 of file sm.h.


The documentation for this struct was generated from the following file: