tesla1995 edited a comment on issue #956: 建议线程退出时,把LocalPool中未使用item的id也加入到全局空闲队列 URL: https://github.com/apache/incubator-brpc/issues/956#issuecomment-549790432 > 确实是可以的,不过目前brpc的场景中几乎不会退出pthread(才会导致LocalPool析构),这个修改很难验证实际效果。 如果不是pthread频繁创建、退出的场景,确实没修改的必要。另外,brpc中很多地方使用了原子指令编程技术,我想请教下原子指令编程的学习方法和怎么验证原子指令编程的正确性。
---------------------------------------------------------------- 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]
