mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-14 06:43:19 +08:00
7 lines
183 B
C
7 lines
183 B
C
typedef struct {
|
|
QActive super; /* inherits QActive */
|
|
|
|
QTimeEvt timeEvt; /* to timeout thining or eating */
|
|
uint8_t num; /* this philosopher's number */
|
|
} Philo;
|