-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathTThreadFactory.cxx
More file actions
32 lines (25 loc) · 1.48 KB
/
TThreadFactory.cxx
File metadata and controls
32 lines (25 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// @(#)root/thread:$Id$
// Author: Fons Rademakers 01/07/97
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// TThreadFactory //
// //
// This ABC is a factory for thread components. Depending on which //
// factory is active one gets either Posix or Win32 threads. //
// //
//////////////////////////////////////////////////////////////////////////
#include "TThreadFactory.h"
TThreadFactory *gThreadFactory = nullptr;
////////////////////////////////////////////////////////////////////////////////
/// TThreadFactory ctor only called by derived classes.
TThreadFactory::TThreadFactory(const char *name, const char *title)
: TNamed(name, title)
{
}