Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge bitcoin#15380: trivial: correct parameter name in comments
Browse files Browse the repository at this point in the history
1a0139c trivial: correct parameter name in comments (andrewtoth)

Pull request description:

Tree-SHA512: 029b5ca5406cd7bf704b4d7611dac072cdc46a8659041bf631d77372ed4c16fa9ddf02c754044e310b16ea9bdd0803d051bef6ef6a86815d523826666134c649
  • Loading branch information
MarcoFalke authored and gades committed Dec 9, 2023
1 parent 6221f6c commit 4f15796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scheduler.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ class CScheduler
// Call func at/after time t
void schedule(Function f, std::chrono::system_clock::time_point t);

// 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);

Expand Down

0 comments on commit 4f15796

Please sign in to comment.