MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / SetPowerTickTask

Method SetPowerTickTask

NetStream/source/utils.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void utils::SetPowerTickTask(PowerTick mode)
69{
70 common::MainThreadCallList::Unregister(PowerTickTask, NULL);
71 if (mode == PowerTick_None)
72 return;
73
74 s_powerTickMode = mode;
75 common::MainThreadCallList::Register(PowerTickTask, NULL);
76}
77
78void utils::Lock(uint32_t flag)
79{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected