![]() |
fairness
v1.0.0
A collection of advanced syncronization mechanisms.
|
Functions | |
void | controlThread (thread_context *c, boost::fairness::shared_priority_mutex< 5 > &m) |
void | threadFunction (thread_context *c, int i, boost::fairness::shared_priority_mutex< 5 > &m, std::mutex &sm) |
void | threadFunction2 (thread_context *c, int i, boost::fairness::shared_priority_mutex< 5 > &m) |
Variables | |
std::vector< int > | expected |
std::vector< int > | ret |
void SPM_scenario4::controlThread | ( | thread_context * | c, |
boost::fairness::shared_priority_mutex< 5 > & | m | ||
) |
void SPM_scenario4::threadFunction | ( | thread_context * | c, |
int | i, | ||
boost::fairness::shared_priority_mutex< 5 > & | m, | ||
std::mutex & | sm | ||
) |
void SPM_scenario4::threadFunction2 | ( | thread_context * | c, |
int | i, | ||
boost::fairness::shared_priority_mutex< 5 > & | m | ||
) |
std::vector<int> SPM_scenario4::expected |
std::vector<int> SPM_scenario4::ret |