summaryrefslogtreecommitdiff
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-12-11 12:10:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-12-11 12:10:28 +0100
commit72759ed1313982aaade3a380fe5beddfffc7824b (patch)
tree4ec561a605d146d62cec61be49068279c9ae2acb /ringbuffer.h
parent506b0de497f8abb407df3ff8a82d2253f8967c5d (diff)
downloadvdr-72759ed1313982aaade3a380fe5beddfffc7824b.tar.gz
vdr-72759ed1313982aaade3a380fe5beddfffc7824b.tar.bz2
Now using the gettid() syscall to get a thread's pid, so that we get a useful value on NPTL systems
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index c47aac3f..dba0e619 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.16 2004/10/15 13:50:46 kls Exp $
+ * $Id: ringbuffer.h 1.17 2005/12/10 10:54:51 kls Exp $
*/
#ifndef __RINGBUFFER_H
@@ -23,7 +23,7 @@ private:
int overflowCount;
int overflowBytes;
protected:
- pthread_t getThreadTid;
+ tThreadId getThreadTid;
int maxFill;//XXX
int lastPercent;
bool statistics;//XXX