Project
Loading...
Searching...
No Matches
StaticTLSReserve.h File Reference
#include <cerrno>
#include <charconv>
#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <string_view>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 

Functions

std::string o2::withStaticTLSReserve (const char *tunables, unsigned long reserve=Geant4StaticTLSReserve)
 
bool o2::setStaticTLSReserve (unsigned long reserve=Geant4StaticTLSReserve)
 Sets the static TLS reserve in the environment, for the programs started from here. Returns true if it changed.
 
void o2::ensureStaticTLSReserve (char *argv[], unsigned long reserve=Geant4StaticTLSReserve)
 

Variables

constexpr unsigned long o2::Geant4StaticTLSReserve = 32768
 Static TLS reserve in bytes for a Geant4 built with the initial-exec TLS model and loaded by dlopen.