mongo::BlockingQueue< T > Class Template Reference

simple blocking queue More...

#include <queue.h>

List of all members.

Public Member Functions

void push (T const &t)
bool empty () const
size_t size () const
bool tryPop (T &t)
blockingPop ()
bool blockingPop (T &t, int maxSecondsToWait)
 blocks waiting for an object until maxSecondsToWait passes if got one, return true and set in t otherwise return false and t won't be changed

Detailed Description

template<typename T>
class mongo::BlockingQueue< T >

simple blocking queue


The documentation for this class was generated from the following file:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3