| 334 | } |
| 335 | |
| 336 | void Consumer::BatchHandleRoutineFunc(const int idx) { |
| 337 | comm::ConsumerConsumeBP::GetThreadInstance()->OnBatchHandleRoutineFunc(impl_->cc, idx); |
| 338 | |
| 339 | BeforeBatchHandle(impl_->cc, impl_->items, idx); |
| 340 | |
| 341 | comm::RetCode ret; |
| 342 | if (comm::RetCode::RET_OK != (ret = BatchHandle(impl_->cc, impl_->items, idx))) { |
| 343 | QLErr("Handle ret %d", comm::as_integer(ret)); |
| 344 | return; |
| 345 | } |
| 346 | |
| 347 | AfterBatchHandle(impl_->cc, impl_->items, idx); |
| 348 | |
| 349 | return; |
| 350 | } |
| 351 | |
| 352 | static void *DispatchRoutineRun(void *arg) { |
| 353 | co_enable_hook_sys(); |
nothing calls this directly
no test coverage detected