/usr/include/root/TThreadSlots.h is in libroot-core-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 33 34 35 36 37 38 39 40 | // @(#)root/base:$Id$
// Author: Philippe Canal 09/30/2011
/*************************************************************************
* 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. *
*************************************************************************/
#ifndef ROOT_TThreadSlots
#define ROOT_TThreadSlots
namespace ROOT {
enum EThreadSlotReservation {
// Describe the system wide slot pre-allocation in the TThread
// 'special data' storage array ; meant to be used as thread local
// storage. (See TThread::Tsd)
//
// Slot 0 through 19 can be used for user application
// Slot 20 and above are reserved for the global system
kMaxUserThreadSlot = 20,
// Slot reserved by ROOT's packages.
kPadThreadSlot = 20,
kClassThreadSlot = 21,
kDirectoryThreadSlot = 22,
kFileThreadSlot = 23,
kMaxThreadSlot = 24 // Size of the array of thread local slots in TThread
};
}
#ifndef __CINT__
R__EXTERN void **(*gThreadTsd)(void*,Int_t);
#endif
#endif // ROOT_TThreadSlots
|