mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +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;
|