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

#include <gnuradio/thread/thread_group.h>

Public Member Functions

 thread_group ()=default
 
 ~thread_group ()=default
 
 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) noexcept
 
void remove_thread (boost::thread *thrd) noexcept
 
void join_all ()
 
void interrupt_all ()
 
size_t size () const noexcept
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

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