39 #ifndef BLOCKINGQUEUE_HPP__ 40 #define BLOCKINGQUEUE_HPP__ 44 #include <boost/thread/mutex.hpp> 45 #include <boost/thread/condition.hpp> 46 #include <boost/cstdint.hpp> 47 #include <boost/any.hpp> 69 boost::mutex::scoped_lock guard(
m_mutex);
86 bool Add(boost::any
const & o)
88 boost::mutex::scoped_lock guard(
m_mutex);
116 #endif // BLOCKINGQUEUE_HPP__ std::deque< boost::any > m_deque
boost::uint64_t GetMaxSize() const
void SetMaxSize(boost::uint64_t val)
boost::uint64_t m_maxSize
bool Add(boost::any const &o)
boost::condition m_condSpaceAvailable