Vowpal Wabbit
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
object_pool.h File Reference
#include "vw/common/future_compat.h"
#include <cassert>
#include <queue>
#include <stack>
#include <unordered_set>
#include <condition_variable>
#include <mutex>

Classes

struct  VW::details::null_mutex
 
class  VW::details::default_factory< T >
 
class  VW::details::object_pool_impl< T, TMutex, TFactory >
 
class  VW::moved_object_pool< T >
 

Namespaces

namespace  VW
 
namespace  VW::details
 

Typedefs

template<typename T , typename TInitializer = details::default_factory<T>>
using VW::no_lock_object_pool = details::object_pool_impl< T, details::null_mutex, TInitializer >
 
template<typename T , typename TInitializer = details::default_factory<T>>
using VW::object_pool = details::object_pool_impl< T, std::mutex, TInitializer >