Karssadin opened a new issue, #3054: URL: https://github.com/apache/brpc/issues/3054
有一个问题想请教一下 场景如下: 1. 在设置的线程数量较少时,发送数据或接收数据在无线程可用时会阻塞等待可用bthread。 2. 在接收数据或发送数据时占用可用bthread,但可能会在处理数据时阻塞。 想问一下,在工作时如果发现阻塞,能否手动将bthread切出 . bthread_yield是否可以实现?减少因阻塞带来的线程耗尽 -- 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]
