File ThreadState.cpp

Defines

LEVEL_WAIT_TIMEOUT_MS
namespace threads

Functions

std::shared_ptr<Level> levelFromBatchRequest(const std::shared_ptr<faabric::BatchExecuteRequest> &req)
std::shared_ptr<Level> getCurrentOpenMPLevel()
void setCurrentOpenMPLevel(const std::shared_ptr<faabric::BatchExecuteRequest> req)
void setCurrentOpenMPLevel(const std::shared_ptr<Level> &level)

Variables

static thread_local std::shared_ptr<Level> currentLevel = nullptr