diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 11:46:22 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-15 11:46:22 +0200 |
commit | 3540d18855d68434d4ab83bc55e590cc6898b175 (patch) | |
tree | 02d5b91c25ad71709203159d1eb91c182d073d01 /thread.h | |
parent | ac471850fe5d7f5267e991eb3d2ed3d5488fe502 (diff) | |
download | vdr-3540d18855d68434d4ab83bc55e590cc6898b175.tar.gz vdr-3540d18855d68434d4ab83bc55e590cc6898b175.tar.bz2 |
Improved cCondVar::Wait() and implemented cCondVar::TimedWait()
Diffstat (limited to 'thread.h')
-rw-r--r-- | thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); }; |