summaryrefslogtreecommitdiff
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-11 10:30:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-11 10:30:27 +0200
commite3e21837d06d91e3fd849af88bb2335be52c8b21 (patch)
treee7bfaf10bf3ce18b1c10c8e2dfe51c1bedea8db1 /ringbuffer.h
parentd067e5eda4caeda2401d71ab66964a16717f0247 (diff)
downloadvdr-e3e21837d06d91e3fd849af88bb2335be52c8b21.tar.gz
vdr-e3e21837d06d91e3fd849af88bb2335be52c8b21.tar.bz2
Removed the WaitForPut/WaitForGet stuff from cRingBuffer
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index 0ce0a485..6b256627 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ringbuffer.h 1.10 2003/04/27 09:55:08 kls Exp $
+ * $Id: ringbuffer.h 1.11 2003/05/11 09:48:23 kls Exp $
*/
#ifndef __RINGBUFFER_H
@@ -16,17 +16,11 @@
class cRingBuffer {
private:
cMutex mutex;
- cCondVar readyForPut, readyForGet;
- cMutex putMutex, getMutex;
int size;
protected:
int maxFill;//XXX
int lastPercent;
bool statistics;//XXX
- void WaitForPut(void);
- void WaitForGet(void);
- void EnablePut(void);
- void EnableGet(void);
virtual void Clear(void) = 0;
virtual int Available(void) = 0;
int Free(void) { return size - Available() - 1; }