#include "/cvmfs/nova.opensciencegrid.org/externals/cetlib/v3_06_01/source/cetlib/assert_only_one_thread.h"
Definition at line 46 of file assert_only_one_thread.h.
cet::detail::ThreadCounter::Sentry::Sentry |
( |
ThreadCounter & |
tc, |
|
|
bool const |
terminate = true |
|
) |
| |
|
inline |
Definition at line 48 of file assert_only_one_thread.h.
References om::cerr, and submit_hadd::u.
54 std::lock_guard<decltype(m_)> hold{
m_};
56 <<
"Failed assert--more than one thread accessing location:\n"
std::string const funcname_
std::string const filename_
std::atomic< unsigned > counter_
cet::detail::ThreadCounter::Sentry::~Sentry |
( |
| ) |
|
|
inlinenoexcept |
std::mutex cet::detail::ThreadCounter::Sentry::m_ {} |
|
private |
bool const cet::detail::ThreadCounter::Sentry::terminate_ |
|
private |
The documentation for this class was generated from the following file: