| 7 | using namespace xsched::preempt; |
| 8 | |
| 9 | HwCommand::HwCommand(XCommandProperties props): XCommand(kCommandTypeHardware, props) |
| 10 | { |
| 11 | this->AddStateListener([this](XCommandState state) { |
| 12 | if (state < kCommandStateCompleted) return; |
| 13 | auto lock = this->GetLock(); |
| 14 | this->xqueue_ = nullptr; // break reference and allow XQueue to be destroyed |
| 15 | }); |
| 16 | } |
| 17 | |
| 18 | void HwCommand::Wait() |
| 19 | { |
nothing calls this directly
no test coverage detected