reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
AbstractFifo.hxx File Reference
#include "rutil/ResipAssert.h"
#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"

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;
 

Macros

#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
 

Macro Definition Documentation

◆ RESIP_FIFO_FOREVER

#define RESIP_FIFO_FOREVER   0

Definition at line 111 of file AbstractFifo.hxx.

◆ RESIP_FIFO_NOWAIT

#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.