HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_StdThreadGroup< UseTBB > Class Template Reference

#include <UT_Thread.h>

Public Types

using thread_t = UT_StdThread< UseTBB >
 

Public Member Functions

 UT_StdThreadGroup (int nthreads=-1)
 
 UT_StdThreadGroup (const UT_StdThreadGroup &)=delete
 
UT_StdThreadGroupoperator= (const UT_StdThreadGroup &)=delete
 
thread_tget (int idx)
 
const thread_tget (int idx) const
 
thread_toperator[] (int idx)
 
const thread_toperator[] (int idx) const
 
bool joinable () const
 
bool joinable (int idx) const
 
void join ()
 

Detailed Description

template<bool UseTBB = true>
class UT_StdThreadGroup< UseTBB >

Definition at line 569 of file UT_Thread.h.

Member Typedef Documentation

template<bool UseTBB = true>
using UT_StdThreadGroup< UseTBB >::thread_t = UT_StdThread<UseTBB>

Definition at line 572 of file UT_Thread.h.

Constructor & Destructor Documentation

template<bool UseTBB = true>
UT_StdThreadGroup< UseTBB >::UT_StdThreadGroup ( int  nthreads = -1)
inlineexplicit

Definition at line 574 of file UT_Thread.h.

template<bool UseTBB = true>
UT_StdThreadGroup< UseTBB >::UT_StdThreadGroup ( const UT_StdThreadGroup< UseTBB > &  )
delete

Member Function Documentation

template<bool UseTBB = true>
thread_t& UT_StdThreadGroup< UseTBB >::get ( int  idx)
inline

Definition at line 585 of file UT_Thread.h.

template<bool UseTBB = true>
const thread_t& UT_StdThreadGroup< UseTBB >::get ( int  idx) const
inline

Definition at line 589 of file UT_Thread.h.

template<bool UseTBB = true>
void UT_StdThreadGroup< UseTBB >::join ( )
inline

Definition at line 614 of file UT_Thread.h.

template<bool UseTBB = true>
bool UT_StdThreadGroup< UseTBB >::joinable ( ) const
inline

Definition at line 601 of file UT_Thread.h.

template<bool UseTBB = true>
bool UT_StdThreadGroup< UseTBB >::joinable ( int  idx) const
inline

Definition at line 610 of file UT_Thread.h.

template<bool UseTBB = true>
UT_StdThreadGroup& UT_StdThreadGroup< UseTBB >::operator= ( const UT_StdThreadGroup< UseTBB > &  )
delete
template<bool UseTBB = true>
thread_t& UT_StdThreadGroup< UseTBB >::operator[] ( int  idx)
inline

Definition at line 593 of file UT_Thread.h.

template<bool UseTBB = true>
const thread_t& UT_StdThreadGroup< UseTBB >::operator[] ( int  idx) const
inline

Definition at line 597 of file UT_Thread.h.


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