ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
core
thread
inc
TPosixThreadFactory.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
13
#ifndef ROOT_TPosixThreadFactory
14
#define ROOT_TPosixThreadFactory
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TPosixThreadFactory //
19
// //
20
// This is a factory for Posix thread components. //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
#ifndef ROOT_TThreadFactory
25
#include "
TThreadFactory.h
"
26
#endif
27
28
class
TMutexImp
;
29
class
TConditionImp
;
30
class
TThreadImp
;
31
32
33
class
TPosixThreadFactory
:
public
TThreadFactory
{
34
35
public
:
36
TPosixThreadFactory
(
const
char
*
name
=
"Posix"
,
const
char
*
title
=
"Posix Thread Factory"
);
37
virtual
~TPosixThreadFactory
() { }
38
39
virtual
TMutexImp
*
CreateMutexImp
(
Bool_t
recursive);
40
virtual
TConditionImp
*
CreateConditionImp
(
TMutexImp
*
m
);
41
virtual
TThreadImp
*
CreateThreadImp
();
42
43
ClassDef
(
TPosixThreadFactory
,0)
// Posix thread factory
44
};
45
46
#endif
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TPosixThreadFactory::~TPosixThreadFactory
virtual ~TPosixThreadFactory()
Definition:
TPosixThreadFactory.h:37
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TPosixThreadFactory::TPosixThreadFactory
TPosixThreadFactory(const char *name="Posix", const char *title="Posix Thread Factory")
TPosixThreadFactory::CreateThreadImp
virtual TThreadImp * CreateThreadImp()
Return a Posix thread.
Definition:
TPosixThreadFactory.cxx:51
TThreadFactory
Definition:
TThreadFactory.h:34
TPosixThreadFactory::CreateConditionImp
virtual TConditionImp * CreateConditionImp(TMutexImp *m)
Return a Posix condition variable.
Definition:
TPosixThreadFactory.cxx:59
title
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
TPosixThreadFactory
Definition:
TPosixThreadFactory.h:33
m
TMarker * m
Definition:
textangle.C:8
TConditionImp
Definition:
TConditionImp.h:33
TThreadFactory.h
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TMutexImp
Definition:
TMutexImp.h:33
TPosixThreadFactory::CreateMutexImp
virtual TMutexImp * CreateMutexImp(Bool_t recursive)
Return a Posix Mutex.
Definition:
TPosixThreadFactory.cxx:43
TThreadImp
Definition:
TThreadImp.h:34