| 565 | } |
| 566 | |
| 567 | bool GraphExecutor::Run(int block) |
| 568 | { |
| 569 | if(!exec_engine_->Run(exec_handle_, exec_event_)) |
| 570 | return false; |
| 571 | |
| 572 | if(block) |
| 573 | exec_engine_->Wait(exec_handle_, exec_event_, 0); |
| 574 | |
| 575 | return true; |
| 576 | } |
| 577 | |
| 578 | void GraphExecutor::ReleaseGraph(void) |
| 579 | { |