MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / module_add

Function module_add

TactilityKernel/source/module.cpp:38–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38error_t module_add(Module* module) {
39 mutex_lock(&ledger.mutex);
40 ledger.modules.push_back(module);
41 mutex_unlock(&ledger.mutex);
42 return ERROR_NONE;
43}
44
45error_t module_remove(Module* module) {
46 mutex_lock(&ledger.mutex);

Callers 3

ModuleTest.cppFile · 0.85
runFunction · 0.85

Calls 2

mutex_lockFunction · 0.85
mutex_unlockFunction · 0.85

Tested by

no test coverage detected