RootLock.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LockRootGuard

Functions

void LockRoot ()
void UnlockRoot ()
void StartLockRootTimer (int period_msec=100)

Variables

bool gDebugLockRoot

Function Documentation

void LockRoot (  ) 

Definition at line 23 of file RootLock.cxx.

References gDebugLockRoot, gRootSema(), and gWaitSema().

Referenced by LockRootGuard::LockRootGuard().

00024 {
00025   if (gDebugLockRoot)
00026     printf("Try Lock ROOT!\n");
00027   gWaitSema.Post();
00028   gRootSema.Wait();
00029   if (gDebugLockRoot)
00030     printf("Lock ROOT!\n");
00031 }

Here is the call graph for this function:

Here is the caller graph for this function:

void StartLockRootTimer ( int  period_msec = 100  ) 

Definition at line 114 of file RootLock.cxx.

References ServerTimer::StartServerTimer().

Referenced by StartMidasServer(), and StartNetDirectoryServer().

00115 {
00116   ServerTimer::StartServerTimer(period_msec);
00117 }

Here is the call graph for this function:

Here is the caller graph for this function:

void UnlockRoot (  ) 

Definition at line 33 of file RootLock.cxx.

References gDebugLockRoot, and gDoneSema().

Referenced by LockRootGuard::Unlock().

00034 {
00035   if (gDebugLockRoot)
00036     printf("Unlock ROOT!\n");
00037   gDoneSema.Post();
00038 }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 21 of file RootLock.cxx.

Referenced by LockRoot(), ServerTimer::Notify(), and UnlockRoot().


Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1