qpc/doxygen/snippets/qf_qactive.c

7 lines
183 B
C
Raw Normal View History

2015-04-28 13:45:35 -04:00
typedef struct {
2015-05-01 08:40:16 -04:00
QActive super; /* inherits QActive */
2013-09-23 14:34:35 -04:00
2015-04-28 13:45:35 -04:00
QTimeEvt timeEvt; /* to timeout thining or eating */
uint8_t num; /* this philosopher's number */
2013-09-23 14:34:35 -04:00
} Philo;