You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/03/24 08:15:22 UTC

[GitHub] [incubator-brpc] cool-colo opened a new issue #1363: 有考虑过添加可以阻塞在bthread上的promise/future吗

cool-colo opened a new issue #1363:
URL: https://github.com/apache/incubator-brpc/issues/1363


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   目前基于folly::future和brpc redis client封装了一个异步redis库, 
   支持基于key slot分发请求和组装响应(用了folly::collectAll),
   但folly::future只能阻塞在pthread上或folly的fiber上,
   如果brpc提供个能阻塞在bthread上的版本就好了, 可以愉快的在brpc server 回调函数内部同步使用了。
   
   **Describe the solution you'd like (描述你期望的解决方法)**
   
   
   **Describe alternatives you've considered (描述你想到的折衷方案)**
   
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


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

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



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