MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / SetPriority

Method SetPriority

src/4JLibraries_Source/NX/Thread/C4JThreadImpl.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void C4JThreadImpl::SetPriority(int priority) {
35 unsigned p = priority - 14;
36
37 m_priority = 16;
38 if (p < 5)
39 m_priority = priority;
40 nn::os::ChangeThreadPriority(this->m_thread, m_priority);
41}
42
43// NON_MATCHING
44bool C4JThreadImpl::WaitForCompletion(int i) {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected