mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
10 lines
233 B
C++
10 lines
233 B
C++
class Philo : public QActive { // derives from QActive
|
|
. . .
|
|
public:
|
|
Philo::Philo() // public default constructor
|
|
: QActive(Q_STATE_CAST(&Philosopher::initial)),
|
|
m_timeEvt(TIMEOUT_SIG, this, 0U)
|
|
{}
|
|
. . .
|
|
};
|