ROOTANA
include
RootLock.h
Go to the documentation of this file.
1
/********************************************************************\
2
3
Name: RootLock.h
4
Created by: Konstantin Olchanski
5
6
Contents: Helper functions for locking ROOT access in multithreaded network servers
7
8
$Id$
9
10
\********************************************************************/
11
12
extern
bool
gDebugLockRoot
;
13
14
void
LockRoot
();
15
void
UnlockRoot
();
16
17
struct
LockRootGuard
18
{
19
bool
fLocked
;
20
LockRootGuard
();
21
~LockRootGuard
();
22
void
Unlock
();
23
};
24
25
void
StartLockRootTimer
(
int
period_msec = 100);
26
27
// end file
gDebugLockRoot
bool gDebugLockRoot
Definition:
RootLock.cxx:22
LockRoot
void LockRoot()
Definition:
RootLock.cxx:24
UnlockRoot
void UnlockRoot()
Definition:
RootLock.cxx:34
StartLockRootTimer
void StartLockRootTimer(int period_msec=100)
Definition:
RootLock.cxx:115
LockRootGuard
Definition:
RootLock.h:18
LockRootGuard::~LockRootGuard
~LockRootGuard()
Definition:
RootLock.cxx:47
LockRootGuard::Unlock
void Unlock()
Definition:
RootLock.cxx:53
LockRootGuard::LockRootGuard
LockRootGuard()
Definition:
RootLock.cxx:41
LockRootGuard::fLocked
bool fLocked
Definition:
RootLock.h:19
Generated on Sat Nov 23 2024 05:01:03 for ROOTANA by
1.9.1