MCPcopy Create free account
hub / github.com/OAID/Tengine / RemoveGraphExecutor

Method RemoveGraphExecutor

executor/engine/generic_engine.cpp:208–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208bool GenericEngine::RemoveGraphExecutor(exec_handle_t h)
209{
210 GraphTask* graph_task = any_cast<GraphTask*>(*h);
211 GraphExecutor* graph_executor = graph_task->GetGraphExecutor();
212
213 Lock();
214
215 graph_map_.erase(graph_executor);
216
217 Unlock();
218
219 delete graph_task;
220 delete h;
221
222 return true;
223}
224
225int GenericEngine::Wait(exec_handle_t h, exec_event_t& e, int try_wait)
226{

Callers 1

ReleaseExecHandleMethod · 0.80

Calls 1

GetGraphExecutorMethod · 0.80

Tested by

no test coverage detected