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 CGroup.cpp
Edit on GitHub
File CGroup.cpp
namespace
isolation
Functions
pid_t
getCurrentTid
(
)
void
addCurrentThreadToTasks
(
const
path
&
tasksPath
)
Variables
static
const
std
::
string
BASE_DIR
=
"/sys/fs/cgroup/"
static
const
std
::
string
CG_CPU
=
"cpu"
static
const
std
::
vector
<
std
::
string
>
controllers
=
{
CG_CPU
}
static
std
::
mutex
groupMutex