reSIProcate/rutil  9694
Classes | Namespaces | Defines
AbstractFifo.hxx File Reference
#include <cassert>
#include <deque>
#include "rutil/Mutex.hxx"
#include "rutil/Condition.hxx"
#include "rutil/Lock.hxx"
#include "rutil/CongestionManager.hxx"
#include "rutil/compat.hxx"
#include "rutil/Timer.hxx"
Include dependency graph for AbstractFifo.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  resip::FifoStatsInterface
 Interface for providing metrics on FIFOs, primarily used by CongestionManager. More...
class  resip::AbstractFifo< T >
 The base class from which various templated Fifo classes are derived. More...

Namespaces

namespace  resip
 

dcm! -- add UnusedChecking(_enum) below;


Defines

#define RESIP_FIFO_NOWAIT   -1
 The getNext() method takes an argument {ms} that normally the number of milliseconds to wait.
#define RESIP_FIFO_FOREVER   0

Define Documentation

#define RESIP_FIFO_FOREVER   0

Definition at line 111 of file AbstractFifo.hxx.

#define RESIP_FIFO_NOWAIT   -1

The getNext() method takes an argument {ms} that normally the number of milliseconds to wait.

There are two special values: NOWAIT Don't wait/block/sleep. If no message to retrieve, return NULL. FOREVER Wait forever until a message is available. Note that the encoding (0 vs -1) is the oppositive convention of standard APIs such as epoll_wait(). This is for historical reasons.

Definition at line 110 of file AbstractFifo.hxx.