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

Function HwQueueSynchronize

preempt/src/hal/hw_queue.cpp:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92EXPORT_C_FUNC XResult HwQueueSynchronize(HwQueueHandle hwq)
93{
94 std::shared_ptr<HwQueue> hwq_shptr = HwQueueManager::Get(hwq);
95 if (hwq_shptr == nullptr) {
96 XWARN("HwQueue with handle 0x" FMT_64X " does not exist", hwq);
97 return kXSchedErrorNotFound;
98 }
99 hwq_shptr->Synchronize();
100 return kXSchedSuccess;
101}

Callers

nothing calls this directly

Calls 1

SynchronizeMethod · 0.45

Tested by

no test coverage detected