summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-10-21 17:25:16 +0200
committerCarl Hetherington <cth@carlh.net>2019-10-21 17:25:16 +0200
commitdfd42d2a546d14c32057a34002543877ea2f99cb (patch)
treeccaf3c3edd37c9022bd39f8e263b7f025d550011 /src/lib
parent48b82de5b6e8e07330a2f72dbddd8d9830fe047e (diff)
parent74d4cd23df7460cf1d0e91fd7a37fa3333741887 (diff)
Merge branch 'v2.15.x' of ssh://localhost:2222/home/carl/git/dcpomatic into v2.15.x
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/checker.cc2
-rw-r--r--src/lib/cross.cc2
-rw-r--r--src/lib/cross.h2
-rw-r--r--src/lib/util.cc2
4 files changed, 4 insertions, 4 deletions
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<std::pair<std::string, std::string> > mount_info ();
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 234c22246..bbb444367 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<shared_ptr<Job> > jobs = JobManager::instance()->get();