21 #ifndef INCLUDED_PMT_POOL_H 22 #define INCLUDED_PMT_POOL_H 27 #include <boost/thread.hpp> 43 typedef boost::unique_lock<boost::mutex>
scoped_lock;
49 size_t d_allocation_size;
53 std::vector<char *> d_allocations;
64 size_t allocation_size = 4096,
size_t max_items = 0);
boost::unique_lock< boost::mutex > scoped_lock
Definition: thread.h:49
FFT_API void free(void *b)
Helper function for freeing fft buffers.
#define PMT_API
Definition: gnuradio-runtime/include/pmt/api.h:30
boost::mutex mutex
Definition: thread.h:48
very simple thread-safe fixed-size allocation pool
Definition: pmt_pool.h:37
BLOCKS_API size_t itemsize(vector_type type)
boost::condition_variable condition_variable
Definition: thread.h:50