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

Method setPriority

TactilityFreeRtos/Include/Tactility/Thread.h:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 void setPriority(Priority newPriority) {
152 mutex.lock();
153 assert(state == State::Stopped);
154 priority = newPriority;
155 mutex.unlock();
156 }
157
158 void setStateCallback(StateCallback callback, void* callbackContext = nullptr) {
159 mutex.lock();

Callers 3

initNavButtonsMethod · 0.80
startMethod · 0.80
onStartMethod · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected