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

Function device_unlock

TactilityKernel/source/device.cpp:305–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303}
304
305void device_unlock(struct Device* device) {
306 mutex_unlock(&device->internal->mutex);
307}
308
309const struct DeviceType* device_get_type(struct Device* device) {
310 return device->internal->driver ? device->internal->driver->device_type : NULL;

Callers 2

device_add_childFunction · 0.85
device_remove_childFunction · 0.85

Calls 1

mutex_unlockFunction · 0.85

Tested by

no test coverage detected