MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | Public Attributes | List of all members
pool_ctx Struct Reference
Collaboration diagram for pool_ctx:
Collaboration graph
[legend]

Public Member Functions

 pool_ctx (std::uint32_t thread_count, bool suspend)
 

Public Attributes

const std::uint32_t thread_count_
 
const bool suspend_
 
std::atomic< std::uint32_t > counter_
 
std::vector< pooled_work_stealing * > schedulers_
 
boost::barrier barrier_
 

Constructor & Destructor Documentation

◆ pool_ctx()

pool_ctx::pool_ctx ( std::uint32_t  thread_count,
bool  suspend 
)
inline

Member Data Documentation

◆ barrier_

boost::barrier pool_ctx::barrier_

◆ counter_

std::atomic<std::uint32_t> pool_ctx::counter_

◆ schedulers_

std::vector<pooled_work_stealing*> pool_ctx::schedulers_

◆ suspend_

const bool pool_ctx::suspend_

◆ thread_count_

const std::uint32_t pool_ctx::thread_count_

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