Skip to content

Commit 1a0139c

Browse files
committed
trivial: correct parameter name in comments
1 parent 6f4e0d1 commit 1a0139c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scheduler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ class CScheduler
4545
// Call func at/after time t
4646
void schedule(Function f, boost::chrono::system_clock::time_point t=boost::chrono::system_clock::now());
4747

48-
// Convenience method: call f once deltaSeconds from now
48+
// Convenience method: call f once deltaMilliSeconds from now
4949
void scheduleFromNow(Function f, int64_t deltaMilliSeconds);
5050

5151
// Another convenience method: call f approximately
52-
// every deltaSeconds forever, starting deltaSeconds from now.
52+
// every deltaMilliSeconds forever, starting deltaMilliSeconds from now.
5353
// To be more precise: every time f is finished, it
54-
// is rescheduled to run deltaSeconds later. If you
54+
// is rescheduled to run deltaMilliSeconds later. If you
5555
// need more accurate scheduling, don't use this method.
5656
void scheduleEvery(Function f, int64_t deltaMilliSeconds);
5757

0 commit comments

Comments
 (0)