Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::thread_safe_queue< T > Class Template Reference

#include <queue.h>

Public Member Functions

 thread_safe_queue (size_t max_size)
 
bool try_pop (T &item)
 
void push (T item)
 
void set_done ()
 
size_t size () const
 

Constructor & Destructor Documentation

◆ thread_safe_queue()

template<typename T >
VW::thread_safe_queue< T >::thread_safe_queue ( size_t  max_size)
inline

Member Function Documentation

◆ push()

template<typename T >
void VW::thread_safe_queue< T >::push ( item)
inline

◆ set_done()

template<typename T >
void VW::thread_safe_queue< T >::set_done ( )
inline

◆ size()

template<typename T >
size_t VW::thread_safe_queue< T >::size ( ) const
inline

◆ try_pop()

template<typename T >
bool VW::thread_safe_queue< T >::try_pop ( T &  item)
inline

The documentation for this class was generated from the following file: