From f0a2a52ddd1118236d4ce5640339c24bae88aa12 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 21 Oct 2019 00:59:59 +0200 Subject: Rename dcpomatic_sleep -> dcpomatic_sleep_seconds. --- src/lib/checker.cc | 2 +- src/lib/cross.cc | 2 +- src/lib/cross.h | 2 +- src/lib/util.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib') diff --git a/src/lib/checker.cc b/src/lib/checker.cc index 13d9aacee..2d15dd3f1 100644 --- a/src/lib/checker.cc +++ b/src/lib/checker.cc @@ -81,7 +81,7 @@ Checker::thread () } lm.unlock (); - dcpomatic_sleep (_period); + dcpomatic_sleep_seconds (_period); } } diff --git a/src/lib/cross.cc b/src/lib/cross.cc index a7fb298cb..1b83bad7c 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -65,7 +65,7 @@ using boost::shared_ptr; /** @param s Number of seconds to sleep for */ void -dcpomatic_sleep (int s) +dcpomatic_sleep_seconds (int s) { #ifdef DCPOMATIC_POSIX sleep (s); diff --git a/src/lib/cross.h b/src/lib/cross.h index 2e8b8e429..4067631bc 100644 --- a/src/lib/cross.h +++ b/src/lib/cross.h @@ -37,7 +37,7 @@ class Log; struct AVIOContext; -void dcpomatic_sleep (int); +void dcpomatic_sleep_seconds (int); extern std::string cpu_info (); extern void run_ffprobe (boost::filesystem::path, boost::filesystem::path); extern std::list > mount_info (); diff --git a/src/lib/util.cc b/src/lib/util.cc index cd2d5a368..fd7a95684 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -967,7 +967,7 @@ show_jobs_on_console (bool progress) bool error = false; while (true) { - dcpomatic_sleep (5); + dcpomatic_sleep_seconds (5); list > jobs = JobManager::instance()->get(); -- cgit v1.2.3