Logo ROOT  
Reference Guide
TReentrantRWLock.cxx File Reference
#include "TReentrantRWLock.hxx"
#include "ROOT/TSpinMutex.hxx"
#include "TMutex.h"
#include "TError.h"
#include <assert.h>
Include dependency graph for TReentrantRWLock.cxx:

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 

Macros

#define R__MAYBE_ASSERT_WITH_LOCAL_LOCK(where, msg, what)
 
#define R__MAYBE_AssertReadCountLocIsFromCurrentThread(READERSCOUNTLOC)    AssertReadCountLocIsFromCurrentThread(READERSCOUNTLOC)
 

Macro Definition Documentation

◆ R__MAYBE_ASSERT_WITH_LOCAL_LOCK

#define R__MAYBE_ASSERT_WITH_LOCAL_LOCK (   where,
  msg,
  what 
)
Value:
{ \
std::unique_lock<MutexT> lock(fMutex); \
auto local = fRecurseCounts.GetLocal(); \
if (!(what)) \
Error(where, "%s", msg); \
}
static const char * what
Definition: stlLoader.cc:6

Definition at line 48 of file TReentrantRWLock.cxx.

◆ R__MAYBE_AssertReadCountLocIsFromCurrentThread

#define R__MAYBE_AssertReadCountLocIsFromCurrentThread (   READERSCOUNTLOC)     AssertReadCountLocIsFromCurrentThread(READERSCOUNTLOC)

Definition at line 46 of file TReentrantRWLock.cxx.