LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Classes | Namespaces | Functions | Variables
threads.h File Reference
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

class  lsst::base::NoThreadsException
 No threading library is available. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::base
 

Functions

bool lsst::base::haveThreads ()
 Are threaded packages available? More...
 
void lsst::base::setNumThreads (unsigned int numThreads)
 Set number of threads to use. More...
 
unsigned int lsst::base::getNumThreads ()
 Get maximum number of threads we might use. More...
 
bool lsst::base::disableImplicitThreading ()
 Disable threading that has not been set explicitly. More...
 

Variables

bool const lsst::base::haveOpenBlas = loadOpenBlas()
 Is OpenBLAS available? More...
 
bool const lsst::base::haveMkl = loadMkl()
 Is MKL available? More...
 
std::string const lsst::base::allowEnvvar = "LSST_ALLOW_IMPLICIT_THREADS"
 Environment variable to allow implicit threading. More...