| 206 | } |
| 207 | |
| 208 | bool 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 | |
| 225 | int GenericEngine::Wait(exec_handle_t h, exec_event_t& e, int try_wait) |
| 226 | { |
no test coverage detected