ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TThreadSlots.h
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Philippe Canal 09/30/2011
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
#ifndef ROOT_TThreadSlots
13
#define ROOT_TThreadSlots
14
15
#include "
RtypesCore.h
"
16
17
namespace
ROOT
{
18
19
enum
EThreadSlotReservation
{
20
// Describe the system wide slot pre-allocation in the TThread
21
// 'special data' storage array ; meant to be used as thread local
22
// storage. (See TThread::Tsd)
23
//
24
// Slot 0 through 19 can be used for user application
25
// Slot 20 and above are reserved for the global system
26
kMaxUserThreadSlot
= 20,
27
28
// Slot reserved by ROOT's packages.
29
kPadThreadSlot
= 20,
30
kClassThreadSlot
= 21,
31
/* This no longer used.
32
kDirectoryThreadSlot = 22,
33
*/
34
kFileThreadSlot
= 23,
35
kPerfStatsThreadSlot
= 24,
36
37
kMaxThreadSlot
= 25
// Size of the array of thread local slots in TThread
38
};
39
}
40
41
R__EXTERN
void
**(*gThreadTsd)(
void
*,
Int_t
);
42
43
#endif
// ROOT_TThreadSlots
R__EXTERN
#define R__EXTERN
Definition
DllImport.h:26
RtypesCore.h
Int_t
int Int_t
Definition
RtypesCore.h:45
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
ROOT::EThreadSlotReservation
EThreadSlotReservation
Definition
TThreadSlots.h:19
ROOT::kPerfStatsThreadSlot
@ kPerfStatsThreadSlot
Definition
TThreadSlots.h:35
ROOT::kPadThreadSlot
@ kPadThreadSlot
Definition
TThreadSlots.h:29
ROOT::kFileThreadSlot
@ kFileThreadSlot
Definition
TThreadSlots.h:34
ROOT::kMaxUserThreadSlot
@ kMaxUserThreadSlot
Definition
TThreadSlots.h:26
ROOT::kMaxThreadSlot
@ kMaxThreadSlot
Definition
TThreadSlots.h:37
ROOT::kClassThreadSlot
@ kClassThreadSlot
Definition
TThreadSlots.h:30
core
base
inc
TThreadSlots.h
ROOT master - Reference Guide Generated on Wed Aug 14 2024 14:53:30 (GVA Time) using Doxygen 1.9.8