Package a patched openssl which creates certificates with
[dcpomatic.git] / src / lib / cross.h
index 2e8b8e429bcc64670cd02741ea63fec882b44eec..67709463ae4163e8ca86b1864618426b412f2d1d 100644 (file)
@@ -29,6 +29,7 @@
 #include <IOKit/pwr_mgt/IOPMLib.h>
 #endif
 #include <boost/filesystem.hpp>
+#include <boost/thread/mutex.hpp>
 
 #ifdef DCPOMATIC_WINDOWS
 #define WEXITSTATUS(w) (w)
@@ -37,7 +38,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 ();
@@ -74,6 +75,7 @@ public:
        void nudge ();
 
 private:
+       boost::mutex _mutex;
 #ifdef DCPOMATIC_OSX
        IOPMAssertionID _assertion_id;
 #endif