XLockRootGuard Class Reference

Collaboration diagram for XLockRootGuard:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XLockRootGuard ()
 ~XLockRootGuard ()
void Unlock ()

Public Attributes

bool fIsLocked

Detailed Description

Definition at line 51 of file xmlServer.cxx.


Constructor & Destructor Documentation

XLockRootGuard::XLockRootGuard (  )  [inline]

Definition at line 56 of file xmlServer.cxx.

References fIsLocked.

00057    {
00058       TThread::Lock();
00059       fIsLocked = true;
00060    }

XLockRootGuard::~XLockRootGuard (  )  [inline]

Definition at line 62 of file xmlServer.cxx.

References fIsLocked, and Unlock().

00063    {
00064       if (fIsLocked)
00065          Unlock();
00066    }

Here is the call graph for this function:


Member Function Documentation

void XLockRootGuard::Unlock (  )  [inline]

Definition at line 68 of file xmlServer.cxx.

References fIsLocked.

Referenced by xroot_server_thread(), and ~XLockRootGuard().

00069    {
00070       fIsLocked = false;
00071       TThread::UnLock();
00072    };

Here is the caller graph for this function:


Member Data Documentation

Definition at line 54 of file xmlServer.cxx.

Referenced by Unlock(), XLockRootGuard(), and ~XLockRootGuard().


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

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1