chenBright commented on PR #2645:
URL: https://github.com/apache/brpc/pull/2645#issuecomment-2121640057

   > 
如果使用TLS的话,当server结束调用Join时,通过bthread_keytable_pool_destroy方法需要删除所有线程内保存的TLS 
free_keytables才行,感觉也不是很方便?
   
   用butil::ThreadLocal应该挺方便的吧。
   bthread_keytable_pool_init的时候,new一个butil::ThreadLocal。
   bthread_keytable_pool_destroy的时候,delete。


-- 
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: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to