mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +08:00
7 lines
184 B
C
7 lines
184 B
C
typedef struct {
|
|
QMActive super; /* inherits QMActive */
|
|
|
|
QTimeEvt timeEvt; /* to timeout thining or eating */
|
|
uint8_t num; /* this philosopher's number */
|
|
} Philo;
|