Newton Dynamics  4.00
dgParallelSourtDesc< T > Class Template Reference

Public Types

typedef dInt32(* CompareFunction) (const T *const A, const T *const B, void *const context)
 

Public Member Functions

 dgParallelSourtDesc (dThreadPool &threadPool, T *const array, dInt32 elements, CompareFunction compareFunct, void *const context)
 
void dgParallelKernel (dInt32 threadID)
 

Static Public Member Functions

static void dgParallelKernel (void *const context, void *const worldContext, dInt32 threadID)
 

Public Attributes

T * m_data
 
void * m_rangeMerge
 
CompareFunction m_callback
 
void * m_context
 
int m_threadCount
 
dInt8 m_buffer [256 *sizeof(dgParallelSortRange)]