#include <list>
#include "sfpacket.h"
-//#define DEBUG_PACKETBUFFER
+// #define DEBUG_PACKETBUFFER
#undef DEBUG
#ifdef DEBUG_PACKETBUFFER
{
protected:
- static const int cMaxBufferSize = 25;
+ static const unsigned cMaxBufferSize = 25;
typedef std::list<SFPacket> container_t;
pthread_cond_t notfull;
// actual buffer
container_t container;
- // number of packets in buffer
- int size;
} sharedBuffer_t;
sharedBuffer_t buffer;