33bool canDumpBacktrace()
35#ifdef DPL_ENABLE_BACKTRACE
45 for (
auto&
i : gErrorBooking) {
52 gErrorBooking[
i].store(
false);
57 return gError[
ref.index];
64 while (gErrorBooking[
i].compare_exchange_strong(
expected,
true) ==
false) {
67 throw std::runtime_error(
"Too many o2::framework::runtime_error thrown without proper cleanup.");
82 while (gErrorBooking[
i].compare_exchange_strong(
expected,
true) ==
false) {
GLint GLint GLsizei GLint GLenum format
Defining PrimaryVertex explicitly as messageable.
RuntimeErrorRef runtime_error(const char *)
void throw_error(RuntimeErrorRef)
void clean_all_runtime_errors()
RuntimeError & error_from_ref(RuntimeErrorRef)
void clean_runtime_error(int i)
RuntimeErrorRef runtime_error_f(const char *,...)
static constexpr unsigned int MAX_BACKTRACE_SIZE
static constexpr unsigned int MAX_RUNTIME_ERRORS
static constexpr unsigned int MAX_RUNTIME_ERROR_SIZE
std::map< std::string, ID > expected