69 void create(
void* (*func)(
void*),
void* arg);
101 template <
typename DerivedThreadType>
113 static void* execute(
void* arg)
115 DerivedThreadType* data =
reinterpret_cast<DerivedThreadType*
>( arg );
190 template <
typename WorkItemT,
typename ProgressCallbackT>
207 m_queue.push( work ); m_size++;
217 work = m_queue.front();
220 m_callback( m_size -(
uint32)m_queue.size() - 1u, m_size );
229 std::queue<WorkItem> m_queue;
243 const uint32 bal_batches = rounds * thread_count;