15#ifndef INCLUDED_THREAD_GROUP_H
16#define INCLUDED_THREAD_GROUP_H
20#include <boost/function.hpp>
21#include <boost/thread/shared_mutex.hpp>
22#include <boost/utility.hpp>
41 std::list<boost::thread*> m_threads;
42 mutable boost::shared_mutex m_mutex;
Definition: thread_group.h:28
void remove_thread(boost::thread *thrd)
void add_thread(boost::thread *thrd)
boost::thread * create_thread(const boost::function0< void > &threadfunc)
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
boost::thread thread
Definition: thread.h:47
Include this header to use the message passing features.
Definition: basic_block.h:45