GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
gr::thread::thread_group Class Reference

#include <gnuradio/thread/thread_group.h>

Public Member Functions

 thread_group ()
 
 ~thread_group ()
 
 thread_group (const thread_group &)=delete
 
thread_groupoperator= (const thread_group &)=delete
 
boost::thread * create_thread (const std::function< void()> &threadfunc)
 
void add_thread (std::unique_ptr< boost::thread > thrd)
 
void remove_thread (boost::thread *thrd)
 
void join_all ()
 
void interrupt_all ()
 
size_t size () const
 

Constructor & Destructor Documentation

◆ thread_group() [1/2]

gr::thread::thread_group::thread_group ( )

◆ ~thread_group()

gr::thread::thread_group::~thread_group ( )

◆ thread_group() [2/2]

gr::thread::thread_group::thread_group ( const thread_group )
delete

Member Function Documentation

◆ add_thread()

void gr::thread::thread_group::add_thread ( std::unique_ptr< boost::thread >  thrd)

◆ create_thread()

boost::thread * gr::thread::thread_group::create_thread ( const std::function< void()> &  threadfunc)

◆ interrupt_all()

void gr::thread::thread_group::interrupt_all ( )

◆ join_all()

void gr::thread::thread_group::join_all ( )

◆ operator=()

thread_group & gr::thread::thread_group::operator= ( const thread_group )
delete

◆ remove_thread()

void gr::thread::thread_group::remove_thread ( boost::thread *  thrd)

◆ size()

size_t gr::thread::thread_group::size ( ) const

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