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

Method CommandBuffer

preempt/src/xqueue/command_buffer.cpp:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using namespace xsched::preempt;
7
8CommandBuffer::CommandBuffer(XQueueHandle xq_h): kXQueueHandle(xq_h)
9{
10 Enqueue(std::make_shared<XQueueWaitAllCommand>());
11 XASSERT(last_enqueued_cmd_ != nullptr, "last_enqueued_cmd_ should not be nullptr");
12}
13
14void CommandBuffer::WaitForNextIdle()
15{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected