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 2019/06/17 10:51:41 UTC

[GitHub] [incubator-brpc] Tsrign edited a comment on issue #809: 当 server.stop 时,NamingServiceThread导致core。

Tsrign edited a comment on issue #809: 当 server.stop 时,NamingServiceThread导致core。
URL: https://github.com/apache/incubator-brpc/issues/809#issuecomment-502633763
 
 
   查看BNS SDK,发现其通过单例模式在.bss 段注册了一个 LruCache 实例, 想了解下, brpc当 server.stop && server.join 结束时,主线程退出,全局变量析构的过程中, NamingServiceThread是否未停止,还可能在 period run, 是否可能存在线程安全问题。

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


With regards,
Apache Git Services

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