RootLock.h

Go to the documentation of this file.
00001 /********************************************************************\
00002 
00003   Name:         RootLock.h
00004   Created by:   Konstantin Olchanski
00005 
00006   Contents:     Helper functions for locking ROOT access in multithreaded network servers
00007 
00008   $Id$
00009 
00010 \********************************************************************/
00011 
00012 extern bool gDebugLockRoot;
00013 
00014 void LockRoot();
00015 void UnlockRoot();
00016 
00017 struct LockRootGuard
00018 {
00019   bool fLocked;
00020   LockRootGuard();
00021   ~LockRootGuard();
00022   void Unlock();
00023 };
00024 
00025 void StartLockRootTimer(int period_msec = 100);
00026 
00027 // end file

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1