44 , m_is_demoted (false)
237 bool m_printed_header =
false;
238 std::ostream &os = std::cerr;
244 if (!m_printed_header)
246 os <<
" +--- Critical Sections" << std::endl;
247 m_printed_header =
true;
void on_promote(int cs_index)
critical_section_tracker(bool enable=false)
void on_exit(int cs_index)
std::uint8_t m_start_count
static const std::size_t MAX_REENTERS
void on_demote(int cs_index)
void on_enter_as_writer(int cs_index)
void on_enter_as_reader(int cs_index)
static void cstrack_assert(bool cond)
static const int CRITICAL_SECTION_COUNT
void check_csect_interdependencies(int cs_index)
void restrack_assert(bool cond)
cstrack_entry m_cstrack_array[CRITICAL_SECTION_COUNT]
std::uint8_t m_enter_count
const char * csect_name_at(int cs_index)