summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-08-15 11:46:22 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-08-15 11:46:22 +0200
commit3540d18855d68434d4ab83bc55e590cc6898b175 (patch)
tree02d5b91c25ad71709203159d1eb91c182d073d01 /thread.h
parentac471850fe5d7f5267e991eb3d2ed3d5488fe502 (diff)
downloadvdr-3540d18855d68434d4ab83bc55e590cc6898b175.tar.gz
vdr-3540d18855d68434d4ab83bc55e590cc6898b175.tar.bz2
Improved cCondVar::Wait() and implemented cCondVar::TimedWait()
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread.h b/thread.h
index d9c8f3a6..9fc48b64 100644
--- a/thread.h
+++ b/thread.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.h 1.13 2002/06/10 16:30:00 kls Exp $
+ * $Id: thread.h 1.14 2002/08/15 11:40:06 kls Exp $
*/
#ifndef __THREAD_H
@@ -22,8 +22,8 @@ private:
public:
cCondVar(void);
~cCondVar();
- bool Wait(cMutex &Mutex);
- //bool TimedWait(cMutex &Mutex, unsigned long tmout);
+ void Wait(cMutex &Mutex);
+ bool TimedWait(cMutex &Mutex, int TimeoutMs);
void Broadcast(void);
//void Signal(void);
};