ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TMutexImp.h
Go to the documentation of this file.
1
// @(#)root/thread:$Id$
2
// Author: Fons Rademakers 01/07/97
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TMutexImp
13
#define ROOT_TMutexImp
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TMutexImp //
19
// //
20
// This class provides an abstract interface to the OS dependent mutex //
21
// classes (TPosixMutex and TWin32Mutex). //
22
// //
23
//////////////////////////////////////////////////////////////////////////
24
25
#include "
TObject.h
"
26
27
class
TMutexImp
:
public
TObject
{
28
29
public
:
30
TMutexImp
() { }
31
virtual
~TMutexImp
() { }
32
33
virtual
Int_t
Lock
() = 0;
34
virtual
Int_t
TryLock
() = 0;
35
virtual
Int_t
UnLock
() = 0;
36
37
ClassDefOverride
(
TMutexImp
,0)
// Mutex lock implementation ABC
38
};
39
40
#endif
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TObject.h
TMutexImp
Definition
TMutexImp.h:27
TMutexImp::Lock
virtual Int_t Lock()=0
TMutexImp::TryLock
virtual Int_t TryLock()=0
TMutexImp::~TMutexImp
virtual ~TMutexImp()
Definition
TMutexImp.h:31
TMutexImp::UnLock
virtual Int_t UnLock()=0
TMutexImp::TMutexImp
TMutexImp()
Definition
TMutexImp.h:30
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
core
thread
inc
TMutexImp.h
ROOT master - Reference Guide Generated on Thu Dec 19 2024 09:45:33 (GVA Time) using Doxygen 1.9.8