trivial: correct parameter name in comments
This commit is contained in:
parent
6f4e0d1542
commit
1a0139cbaf
1 changed files with 3 additions and 3 deletions
|
@ -45,13 +45,13 @@ public:
|
||||||
// Call func at/after time t
|
// Call func at/after time t
|
||||||
void schedule(Function f, boost::chrono::system_clock::time_point t=boost::chrono::system_clock::now());
|
void schedule(Function f, boost::chrono::system_clock::time_point t=boost::chrono::system_clock::now());
|
||||||
|
|
||||||
// Convenience method: call f once deltaSeconds from now
|
// Convenience method: call f once deltaMilliSeconds from now
|
||||||
void scheduleFromNow(Function f, int64_t deltaMilliSeconds);
|
void scheduleFromNow(Function f, int64_t deltaMilliSeconds);
|
||||||
|
|
||||||
// Another convenience method: call f approximately
|
// Another convenience method: call f approximately
|
||||||
// every deltaSeconds forever, starting deltaSeconds from now.
|
// every deltaMilliSeconds forever, starting deltaMilliSeconds from now.
|
||||||
// To be more precise: every time f is finished, it
|
// To be more precise: every time f is finished, it
|
||||||
// is rescheduled to run deltaSeconds later. If you
|
// is rescheduled to run deltaMilliSeconds later. If you
|
||||||
// need more accurate scheduling, don't use this method.
|
// need more accurate scheduling, don't use this method.
|
||||||
void scheduleEvery(Function f, int64_t deltaMilliSeconds);
|
void scheduleEvery(Function f, int64_t deltaMilliSeconds);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue