MCPcopy Create free account
hub / github.com/apache/mesos / createMemIsolator

Function createMemIsolator

src/examples/test_isolator_module.cpp:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56
57static Isolator* createMemIsolator(const Parameters& parameters)
58{
59 Flags flags;
60 Try<Isolator*> result = PosixMemIsolatorProcess::create(flags);
61 if (result.isError()) {
62 return nullptr;
63 }
64 return result.get();
65}
66
67
68// Declares a CPU Isolator module named 'org_apache_mesos_TestCpuIsolator'.

Callers

nothing calls this directly

Calls 3

createFunction · 0.70
isErrorMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected