Cross-platform sleep.
authorCarl Hetherington <cth@carlh.net>
Sun, 22 Jul 2012 17:27:51 +0000 (18:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 22 Jul 2012 17:27:51 +0000 (18:27 +0100)
src/lib/job_manager.cc

index dd7c62c318a499b68ab1c8a2734115620097882e..93fdbd27a8d43472a1a93b64aad2a05b4a978c67 100644 (file)
@@ -25,6 +25,7 @@
 #include <boost/thread.hpp>
 #include "job_manager.h"
 #include "job.h"
+#include "cross.h"
 
 using namespace std;
 using namespace boost;
@@ -86,7 +87,7 @@ JobManager::scheduler ()
                        }
                }
 
-               sleep (1);
+               dvdomatic_sleep (1);
        }
 }