Eviltuzki opened a new issue, #2203:
URL: https://github.com/apache/brpc/issues/2203

   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   是否有办法使得server端处理client请求的时候,始终使用的是同一个线程,也就是调用bthread_self()返回的值保持不变
   
   我这边现在有需求依赖上下文(是另外一个lib提供的),如果不同请求的线程切换了,上下文信息就丢失了,后续请求都会失败
   上下文对我这边调用是黑盒的,无法直接干预,只能通过保障我这边线程不切换
   
   或者是否能指定一个单线程的线程池来提供服务?
   
   
   


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