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