xrootd
XrdOucLock.hh
Go to the documentation of this file.
1 #ifndef __OUC_LOCK_HH__
2 #define __OUC_LOCK_HH__
3 /******************************************************************************/
4 /* */
5 /* X r d O u c L o c k . h h */
6 /* */
7 /* (c) 2003 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC03-76-SFO0515 with the Department of Energy */
11 /******************************************************************************/
12 
13 // $Id$
14 
15 #include "XrdSys/XrdSysPthread.hh"
16 
18 {
19 public:
21  {Mutex = mp; Mutex->Lock(); isLocked = 1;}
23 
24 private:
25 
28 };
29 #endif