summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-12-04 14:53:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-12-04 14:53:41 +0100
commit04e538072340d9ba7d0342fe59c755e4c8687775 (patch)
treec13fbc77db368e190c564131648e70cdb4805b26 /tools.c
parent989fa21a21bc68bdb8af3a4421169e65ebee356e (diff)
downloadvdr-04e538072340d9ba7d0342fe59c755e4c8687775.tar.gz
vdr-04e538072340d9ba7d0342fe59c755e4c8687775.tar.bz2
Replaced all calls to sleep() with cCondWait::SleepMs()
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.c b/tools.c
index 35693821..1a1cf3fe 100644
--- a/tools.c
+++ b/tools.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.c 2.18 2011/09/18 11:22:21 kls Exp $
+ * $Id: tools.c 2.19 2011/12/04 14:52:38 kls Exp $
*/
#include "tools.h"
@@ -1789,7 +1789,7 @@ bool cLockFile::Lock(int WaitSeconds)
break;
}
if (WaitSeconds)
- sleep(1);
+ cCondWait::SleepMs(1000);
}
} while (f < 0 && time(NULL) < Timeout);
}