Fermat
|
This module implements basic host thread and work-queue objects.
Classes | |
class | cugar::ThreadBase |
class | cugar::Thread< DerivedThreadType > |
class | cugar::Mutex |
class | cugar::ScopedLock |
class | cugar::WorkQueue< WorkItemT, ProgressCallbackT > |
Functions | |
uint32 | cugar::num_physical_cores () |
uint32 | cugar::num_logical_cores () |
uint32 | cugar::balance_batch_size (uint32 batch_size, uint32 total_count, uint32 thread_count) |
return a number close to batch_size that achieves best threading balance | |
void | cugar::yield () |