ROOTANA
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 
18 {
19  bool fLocked;
20  LockRootGuard();
22  void Unlock();
23 };
24 
25 void StartLockRootTimer(int period_msec = 100);
26 
27 // end file
bool gDebugLockRoot
Definition: RootLock.cxx:22
void LockRoot()
Definition: RootLock.cxx:24
void UnlockRoot()
Definition: RootLock.cxx:34
void StartLockRootTimer(int period_msec=100)
Definition: RootLock.cxx:115
void Unlock()
Definition: RootLock.cxx:53
bool fLocked
Definition: RootLock.h:19