Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
using namespace xsched::preempt;
5
6
XCommandState XCommand::GetState()
7
{
8
std::lock_guard<std::mutex> lock(mtx_);
9
return state_;
10
}
11
12
void XCommand::SetState(XCommandState new_state)
13
{
Callers
7
Wait
Method · 0.80
ForEachCommand
Method · 0.80
SyncCmdWithLock
Method · 0.80
Wait
Method · 0.80
XEventQuery
Function · 0.80
XEventQuery
Function · 0.80
XRtEventQuery
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected