mapleFU opened a new issue #1423:
URL: https://github.com/apache/incubator-brpc/issues/1423


   **Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)**
   
   为了使用一些 blocking 的接口,我们把部分 IO 任务放在了 `pthread` 的线程池中。这里试图使用 `bthread::Mutex` 
来做一些并发控制。我知道 bthread 中使用 pthread 的 blocking 接口可能会造成死锁。
   请问在 pthread 下使用 bthread 的 lock 是安全的吗?如果有的话,文档在哪里提到过这个问题吗?
   
   
   


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to