lintianzhi commented on issue #2229: URL: https://github.com/apache/brpc/issues/2229#issuecomment-1534181983
如果前面的任务执行时间过长,后面的任务同样会被其他worker偷走,不会阻塞住的 这里拿多个任务可以把第一个任务拿过来,其余任务push到自己的`WorkStealingQueue`就可以 这样改 ``` bool steal(T* val) -> bool steal(T* val, WorkStealingQueue<T> *q) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
