Logo ROOT   6.16/01
Reference Guide
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#include "TThreadFactory.h"
25
26class TMutexImp;
27class TConditionImp;
28class TThreadImp;
29
30
32
33public:
34 TWin32ThreadFactory(const char *name = "Win32", const char *title = "Win32 Thread Factory");
36
37 virtual TMutexImp *CreateMutexImp(Bool_t recursive);
39 virtual TThreadImp *CreateThreadImp();
40
41 ClassDef(TWin32ThreadFactory,0) // Win32 thread factory
42};
43
44#endif
bool Bool_t
Definition: RtypesCore.h:59
#define ClassDef(name, id)
Definition: Rtypes.h:324
virtual TConditionImp * CreateConditionImp(TMutexImp *m)
Return a Win32 condition variable.
TWin32ThreadFactory(const char *name="Win32", const char *title="Win32 Thread Factory")
Create Win32 thread factory. Also sets global gThreadFactory to this.
virtual TThreadImp * CreateThreadImp()
Return a Win32 thread.
virtual TMutexImp * CreateMutexImp(Bool_t recursive)
Return a Win32 Mutex.
auto * m
Definition: textangle.C:8