ROOT
6.18/05
Reference Guide
core
thread
src
TThreadFactory.cxx
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
// //
14
// TThreadFactory //
15
// //
16
// This ABC is a factory for thread components. Depending on which //
17
// factory is active one gets either Posix or Win32 threads. //
18
// //
19
//////////////////////////////////////////////////////////////////////////
20
21
#include "
TThreadFactory.h
"
22
23
TThreadFactory
*
gThreadFactory
= 0;
24
25
ClassImp
(
TThreadFactory
);
26
27
////////////////////////////////////////////////////////////////////////////////
28
/// TThreadFactory ctor only called by derived classes.
29
30
TThreadFactory::TThreadFactory
(
const
char
*
name
,
const
char
*title)
31
:
TNamed
(
name
, title)
32
{
33
}
ClassImp
#define ClassImp(name)
Definition:
Rtypes.h:365
name
char name[80]
Definition:
TGX11.cxx:109
gThreadFactory
TThreadFactory * gThreadFactory
Definition:
TThreadFactory.cxx:23
TThreadFactory.h
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition:
TNamed.h:29
TThreadFactory
Definition:
TThreadFactory.h:32
TThreadFactory::TThreadFactory
TThreadFactory(const char *name="Unknown", const char *title="Unknown Thread Factory")
TThreadFactory ctor only called by derived classes.
Definition:
TThreadFactory.cxx:30