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

Method Get

preempt/src/xqueue/xqueue.cpp:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81std::shared_ptr<XQueue> XQueueManager::Get(XQueueHandle xq_h)
82{
83 std::lock_guard<std::mutex> lock(mtx_);
84 auto it = xqs_.find(xq_h);
85 if (it == xqs_.end()) return nullptr;
86 return it->second;
87}
88
89XResult XQueueManager::ForEachWaitAll()
90{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected