Mēnsūra
Public Member Functions | Static Public Member Functions | List of all members
ROOTLock Class Reference

Provides a lock to protect ROOT routines that are not thread-safe. More...

#include <ROOTLock.hpp>

Public Member Functions

 ROOTLock ()=delete
 Constructor is deleted.
 

Static Public Member Functions

static void Lock ()
 Locks.
 
static void Unlock ()
 Unlocks.
 
static bool TryLock ()
 Checks if the lock is set.
 

Detailed Description

Provides a lock to protect ROOT routines that are not thread-safe.

This class is a simple wrapper around a static mutex. In general, ROOT is not thread-safe, and a number of operations must be protected by a lock. Their list includes (but is likely not limited to) the following:


The documentation for this class was generated from the following files: