g4tools  5.4.0
imutex
Go to the documentation of this file.
1 // Copyright (C) 2010, Guy Barrand. All rights reserved.
2 // See the file tools.license for terms.
3 
4 #ifndef tools_wroot_imutex
5 #define tools_wroot_imutex
6 
7 namespace tools {
8 namespace wroot {
9 
10 class imutex {
11 public:
12  virtual ~imutex(){}
13 public:
14  virtual bool lock() = 0;
15  virtual bool unlock() = 0;
16  //virtual bool trylock() = 0;
17 };
18 
19 }}
20 
21 #endif
tools::wroot::imutex::~imutex
virtual ~imutex()
Definition: imutex:12
tools::wroot::imutex
Definition: imutex:10
tools
inlined C code : ///////////////////////////////////
Definition: aida_ntuple:26
tools::wroot::imutex::unlock
virtual bool unlock()=0
tools::wroot::imutex::lock
virtual bool lock()=0