| 90 | } |
| 91 | |
| 92 | EXPORT_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 | } |
nothing calls this directly
no test coverage detected