MCPcopy Create free account
hub / github.com/XpuOS/xsched / GetState

Method GetState

preempt/src/xqueue/xcommand.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace xsched::preempt;
5
6XCommandState XCommand::GetState()
7{
8 std::lock_guard<std::mutex> lock(mtx_);
9 return state_;
10}
11
12void XCommand::SetState(XCommandState new_state)
13{

Callers 7

WaitMethod · 0.80
ForEachCommandMethod · 0.80
SyncCmdWithLockMethod · 0.80
WaitMethod · 0.80
XEventQueryFunction · 0.80
XEventQueryFunction · 0.80
XRtEventQueryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected