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

Method ForEachCommand

preempt/src/xqueue/launch_worker.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void LaunchWorker::ForEachCommand(std::function<bool (std::shared_ptr<HwCommand>)> func)
67{
68 std::unique_lock<MutexLock> lock(*mtx_);
69 for (auto hw_cmd : cmd_log_) {
70 if (!func(hw_cmd)) break;
71 }
72}
73
74void LaunchWorker::SyncAll()
75{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected