Skip to content

Commit ff9e197

Browse files
author
MarcoFalke
committed
Merge #15380: trivial: correct parameter name in comments
1a0139c trivial: correct parameter name in comments (andrewtoth) Pull request description: Tree-SHA512: 029b5ca5406cd7bf704b4d7611dac072cdc46a8659041bf631d77372ed4c16fa9ddf02c754044e310b16ea9bdd0803d051bef6ef6a86815d523826666134c649
2 parents e84e0d4 + 1a0139c commit ff9e197

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)