mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-02-04 07:13:16 +08:00
5 lines
156 B
C
5 lines
156 B
C
void Philosopher_ctor(Philosopher *me) {
|
|
QActive_ctor(&me->super, (QStateHandler)&Philosopher_initial);
|
|
QTimeEvt_ctor(&me->timeEvt, TIMEOUT_SIG);
|
|
}
|