diff options
author | andrewtoth <andrewstoth@gmail.com> | 2019-02-10 17:17:32 -0500 |
---|---|---|
committer | andrewtoth <andrewstoth@gmail.com> | 2019-02-10 17:17:32 -0500 |
commit | 1a0139cbaf5293914b07c6301225272bd5a836a7 (patch) | |
tree | a54541e28066da92cb4b258e2c5c1b5687ea0a5a /src | |
parent | 6f4e0d154256c2041f15f0c4acba5707e985d649 (diff) |
trivial: correct parameter name in comments
Diffstat (limited to 'src')
-rw-r--r-- | src/scheduler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scheduler.h b/src/scheduler.h index 6d7f42cf9f..436f661c59 100644 --- a/src/scheduler.h +++ b/src/scheduler.h @@ -45,13 +45,13 @@ public: // Call func at/after time t 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); // 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 - // 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. void scheduleEvery(Function f, int64_t deltaMilliSeconds); |