48 template <
template <
class,
class>
class C>
class JoinThreads final
95 template <
template <
class,
class>
class C>
class JoinThreadsP final
121 if (t && t->joinable())
136 #endif // JOINTHREADS JoinThreadsP(container_type &threads)
Initialisation constructor.
Definition: JoinThreads.h:104
C< std::thread, std::allocator< std::thread > > container_type
typedef for container type
Definition: JoinThreads.h:52
~JoinThreads()
Destructor- joins the threads.
Definition: JoinThreads.h:70
Class to manage joining multiple threads held as pointers in an STL container.
Definition: JoinThreads.h:95
container_type & m_threads
Container of threads.
Definition: JoinThreads.h:130
The core_lib namespace.
Definition: AsioDefines.h:59
Class to manage joining multiple threads held as objects in an STL container.
Definition: JoinThreads.h:48
JoinThreads(container_type &threads)
Initialisation constructor.
Definition: JoinThreads.h:57
~JoinThreadsP()
Destructor- joins the threads.
Definition: JoinThreads.h:117
C< std::thread *, std::allocator< std::thread * > > container_type
typedef for container type
Definition: JoinThreads.h:99
container_type & m_threads
Container of threads.
Definition: JoinThreads.h:83
JoinThreads & operator=(const JoinThreads &)=delete
Copy assignment operator deleted.