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

Function synchronized

src/module/manager.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116Try<Nothing> ModuleManager::unload(const string& moduleName)
117{
118 synchronized (mutex) {
119 if (!moduleBases.contains(moduleName)) {
120 return Error(
121 "Error unloading module '" + moduleName + "': module not loaded");
122 }
123
124 // Do not remove the dynamiclibrary as it could result in
125 // unloading the library from the process memory.
126 moduleBases.erase(moduleName);
127 }
128 return Nothing();
129}
130

Callers

nothing calls this directly

Calls 4

ErrorFunction · 0.50
initializeFunction · 0.50
containsMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected