Logo ROOT   6.10/09
Reference Guide
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 "Rtypes.h"
16 
17 namespace ROOT {
18 
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
27 
28  // Slot reserved by ROOT's packages.
34 
35  kMaxThreadSlot = 25 // Size of the array of thread local slots in TThread
36  };
37 }
38 
39 #ifndef __CINT__
40 R__EXTERN void **(*gThreadTsd)(void*,Int_t);
41 #endif
42 
43 #endif // ROOT_TThreadSlots
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
EThreadSlotReservation
Definition: TThreadSlots.h:19
int Int_t
Definition: RtypesCore.h:41
#define R__EXTERN
Definition: DllImport.h:27