equal
deleted
inserted
replaced
33 // PeriodicTask pf(10); |
33 // PeriodicTask pf(10); |
34 // pf.enroll(); |
34 // pf.enroll(); |
35 // ... |
35 // ... |
36 // pf.disenroll(); |
36 // pf.disenroll(); |
37 |
37 |
38 class PeriodicTask: public CHeapObj { |
38 class PeriodicTask: public CHeapObj<mtInternal> { |
39 public: |
39 public: |
40 // Useful constants. |
40 // Useful constants. |
41 // The interval constants are used to ensure the declared interval |
41 // The interval constants are used to ensure the declared interval |
42 // is appropriate; it must be between min_interval and max_interval, |
42 // is appropriate; it must be between min_interval and max_interval, |
43 // and have a granularity of interval_gran (all in millis). |
43 // and have a granularity of interval_gran (all in millis). |