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
TWin32ThreadFactory.h
Go to the documentation of this file.
1
// @(#)root/thread:$Id$
2
// Author: Bertrand Bellenot 20/10/2004
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, 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_TWin32ThreadFactory
14
#define ROOT_TWin32ThreadFactory
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TWin32ThreadFactory //
19
// //
20
// This is a factory for Win32 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
TWin32ThreadFactory
:
public
TThreadFactory
{
34
35
public
:
36
TWin32ThreadFactory
(
const
char
*
name
=
"Win32"
,
const
char
*
title
=
"Win32 Thread Factory"
);
37
virtual
~TWin32ThreadFactory
() { }
38
39
virtual
TMutexImp
*
CreateMutexImp
(
Bool_t
recursive);
40
virtual
TConditionImp
*
CreateConditionImp
(
TMutexImp
*
m
);
41
virtual
TThreadImp
*
CreateThreadImp
();
42
43
ClassDef
(
TWin32ThreadFactory
,0)
// Win32 thread factory
44
};
45
46
#endif
TWin32ThreadFactory::CreateThreadImp
virtual TThreadImp * CreateThreadImp()
Return a Win32 thread.
Definition:
TWin32ThreadFactory.cxx:51
TWin32ThreadFactory::CreateConditionImp
virtual TConditionImp * CreateConditionImp(TMutexImp *m)
Return a Win32 condition variable.
Definition:
TWin32ThreadFactory.cxx:59
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TWin32ThreadFactory::CreateMutexImp
virtual TMutexImp * CreateMutexImp(Bool_t recursive)
Return a Win32 Mutex.
Definition:
TWin32ThreadFactory.cxx:43
TThreadFactory
Definition:
TThreadFactory.h:34
title
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
m
TMarker * m
Definition:
textangle.C:8
TConditionImp
Definition:
TConditionImp.h:33
TThreadFactory.h
TWin32ThreadFactory::~TWin32ThreadFactory
virtual ~TWin32ThreadFactory()
Definition:
TWin32ThreadFactory.h:37
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TWin32ThreadFactory
Definition:
TWin32ThreadFactory.h:33
TMutexImp
Definition:
TMutexImp.h:33
TWin32ThreadFactory::TWin32ThreadFactory
TWin32ThreadFactory(const char *name="Win32", const char *title="Win32 Thread Factory")
TThreadImp
Definition:
TThreadImp.h:34