ketor commented on PR #2358:
URL: https://github.com/apache/brpc/pull/2358#issuecomment-1943846669

   > > 
请问这个PR的改动,如果使用了bthread::ExecutionQueue,ExecutionQueue里面的任务如何区分按照哪个tag去调度的呢? 
还是整个ExecutionQueue对应于一个tag呢?
   > 
   > 最好还是一个tag启动一个execq比较合适
   谢谢!
   
   启动ExecutionQueue的时候,在attr里面指定上tag,就是整个ExecutionQueue都会在这个tag所在的线程池里执行了是么?
   另外现在的实现,如果使用了bthread_mutex/cond这些同步原语,跨线程池的时候,这些同步原语的工作是否会有问题呢? 
看了2个PR里的discussion,似乎没有给出明确的答案,所以请教一下。


-- 
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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to