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 555 of file UT_Thread.h.

Member Typedef Documentation

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

Definition at line 558 of file UT_Thread.h.

Constructor & Destructor Documentation

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

Definition at line 560 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 571 of file UT_Thread.h.

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

Definition at line 575 of file UT_Thread.h.

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

Definition at line 600 of file UT_Thread.h.

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

Definition at line 587 of file UT_Thread.h.

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

Definition at line 596 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 579 of file UT_Thread.h.

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

Definition at line 583 of file UT_Thread.h.


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