Faasm
latest
Topics
HTTP API
C++ support
Writing functions
Debugging
Faasm Development
Getting started
Host interface
Kubernetes integration
Troubleshooting
K8s Cluster set-up
LLVM use in Faasm
MPI support
Network isolation
Profiling
Proto-faaslets
Python
Releases
Building containers locally
Github config
SGX support
Shared files
State
Threading
Code
Namespace list
Class list
Faasm
»
File ThreadState.cpp
Edit on GitHub
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