ROOT
6.08/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
2
3
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
2
3
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
v
x
+
Enumerations
a
d
e
f
g
h
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
u
v
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
v
w
x
y
z
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
core
thread
inc
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
#ifndef ROOT_Rtypes
26
#include "
Rtypes.h
"
27
#endif
28
#ifndef ROOT_TObject
29
#include "
TObject.h
"
30
#endif
31
32
33
class
TMutexImp
:
public
TObject
{
34
35
public
:
36
TMutexImp
() { }
37
virtual
~TMutexImp
() { }
38
39
virtual
Int_t
Lock
() = 0;
40
virtual
Int_t
TryLock
() = 0;
41
virtual
Int_t
UnLock
() = 0;
42
43
ClassDef
(
TMutexImp
,0)
// Mutex lock implementation ABC
44
};
45
46
#endif
Rtypes.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
TMutexImp::TMutexImp
TMutexImp()
Definition:
TMutexImp.h:36
TMutexImp::Lock
virtual Int_t Lock()=0
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TMutexImp::UnLock
virtual Int_t UnLock()=0
TMutexImp::TryLock
virtual Int_t TryLock()=0
TMutexImp::~TMutexImp
virtual ~TMutexImp()
Definition:
TMutexImp.h:37
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TMutexImp
Definition:
TMutexImp.h:33
TObject.h