TousakaRin commented on issue #2203:
URL: https://github.com/apache/brpc/issues/2203#issuecomment-3139081952

   > > > [@wwbmmm](https://github.com/wwbmmm) 想问下,如果 bthread 只调用了阻塞 pthread 
的函数(read、write、mutex_lock
   > 当前维护的一个 brpc 老项目用到了 thread_local,如果向下游发起 rpc 会触发当前 bthread 切换 
pthread,应该早就出问题了。但看文档和一些 issue 中提到会切换。所以这里不确定:(
   
   可以在rpc前后保存thread id对比一下


-- 
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]

Reply via email to