PFZheng commented on issue #1085: PrometheusMetricsService造成死锁
URL: https://github.com/apache/incubator-brpc/issues/1085#issuecomment-613789099
 
 
   > @PFZheng 这个fix就是避免在回调中使用bthread mutex么?
   > 
   > @crystalyouth 能看下thread 7中的mutex指针和其他线程中的是同一个么?
   
   嗯,不使用的话,不会有问题。另外,这个问题是可以fix的,PTHREAD_MUTEX_RECURSIVE 
是为了fix另外一个问题引入的,改掉后可以兼容这个情况。
   我把那个patch pick出来提个pull request。

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


With regards,
Apache Git Services

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

Reply via email to