| 
    HDK
    
   | 
 
#include <UT_Thread.h>
Public Types | |
| enum | AssignmentStyle { NON_BLOCKING = 0, BLOCKING = 1, DYNAMIC = 2 } | 
Public Member Functions | |
| UT_ThreadFarm (int nthreads=-1) | |
| ~UT_ThreadFarm () | |
| UT_ThreadFarm (const UT_ThreadFarm &)=delete | |
| UT_ThreadFarm & | operator= (const UT_ThreadFarm &)=delete | 
| UT_Thread * | nextThread (int *thread_index=0, AssignmentStyle style=BLOCKING) | 
| int | wait (int block=1) | 
| void | cleanup (int kill=0) | 
| int | getEntries () const | 
| UT_Thread * | operator[] (int index) | 
Protected Member Functions | |
| void | addThreads (int thread_count) | 
Protected Attributes | |
| int | myThreadCount | 
| UT_Thread ** | myThreads | 
Definition at line 401 of file UT_Thread.h.
| Enumerator | |
|---|---|
| NON_BLOCKING | |
| BLOCKING | |
| DYNAMIC | |
Definition at line 404 of file UT_Thread.h.
| UT_ThreadFarm::UT_ThreadFarm | ( | int | nthreads = -1 | ) | 
| UT_ThreadFarm::~UT_ThreadFarm | ( | ) | 
      
  | 
  delete | 
      
  | 
  inline | 
Definition at line 442 of file UT_Thread.h.
| UT_Thread* UT_ThreadFarm::nextThread | ( | int * | thread_index = 0,  | 
        
| AssignmentStyle | style = BLOCKING  | 
        ||
| ) | 
      
  | 
  delete | 
Definition at line 443 of file UT_Thread.h.
      
  | 
  protected | 
Definition at line 452 of file UT_Thread.h.
      
  | 
  protected | 
Definition at line 453 of file UT_Thread.h.