21 #ifndef INCLUDED_PMT_POOL_H 22 #define INCLUDED_PMT_POOL_H 25 #include <boost/thread.hpp> 44 typedef boost::unique_lock<boost::mutex>
scoped_lock;
50 size_t d_allocation_size;
54 std::vector<char*> d_allocations;
65 size_t alignment = 16,
66 size_t allocation_size = 4096,
67 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