jiangdongzi commented on issue #2045:
URL: 
https://github.com/apache/incubator-brpc/issues/2045#issuecomment-1343882519

   > > 目前的想法是使用别的异步客户端, 在bthread环境下调用异步redis, 之后yield出去, 
在异步redis的callback中唤醒yield出去的bthread, 这种是否可行
   > 
   > 图啥呢,直接用同步接口就能达到这个效果
   
   测了下,  bthread_yield并不是挂起bthread,  而只是yield出去, 后面还是会被调度,  有没有哪个接口是 
挂起bthread么, 后面主动唤醒(对应的接口是哪个呢)才会重新调度该bthread
   


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