Classes | Namespaces | Macros
assert_only_one_thread.h File Reference
#include <atomic>
#include <cstdlib>
#include <iostream>
#include <string>

Go to the source code of this file.

Classes

class  cet::detail::ThreadCounter
 
class  cet::detail::ThreadCounter::Sentry
 

Namespaces

 cet::detail
 

Macros

#define CET_ASSERT_ONLY_ONE_THREAD()
 

Macro Definition Documentation

#define CET_ASSERT_ONLY_ONE_THREAD ( )
Value:
static cet::detail::ThreadCounter s_tc_{__FILE__, __LINE__, __func__}; \
cet::detail::ThreadCounter::Sentry sentry_tc_ { s_tc_ }

Definition at line 70 of file assert_only_one_thread.h.