20083017

Results 10 comments of 20083017

android still not support lsan yet? hope for a quick answer~

cannot reproduce using benchmark, maybe something is wrong with my program, still working on that!

![image](https://github.com/Mbed-TLS/mbedtls/assets/8308226/b0553919-89b1-4211-883e-3c94a6d99263) my program crashed here, any help?

``` int* foo = (int*)malloc(1*sizeof(int)); *foo = 3; if(foo) { free(foo); foo = NULL; } ```

![image](https://github.com/Mbed-TLS/mbedtls/assets/8308226/830e3c4e-c43c-459e-b2db-8f2e0ff664d8) change the compile flag from '-O2' to '-Os'

![image](https://github.com/owent/atframe_utils/assets/8308226/530b2829-d251-4db7-ba36-14e40bbfd46f) ![image](https://github.com/owent/atframe_utils/assets/8308226/f9609d81-e856-45fd-b3f0-91cb11561dc6) brpc 的实现也比较复杂,没有理解为啥要这么实现,是要解决什么问题,为什么不用简单的搞法 能解决跨模块调用,还有编译依赖顺序之类的问题吗 ^_^

使用库里这个单例,需要注意哪些问题呢? 目前,我们代码里边存在优雅退出、跨模块调用重复构造问题,编译环境是c++11以上

> 这个实现的原因是多方面的,比如上面图里这种简单得实现的几个问题: > > * 从线程安全的角度,这么写并不能保证所有平台和编译环境线程安全。 > * 从生命周期管理的角度,这么写很难处理多个singleton互相引用的时候优雅退出。 > * 从符号隔离的角度,这么写可能有ABI冲突。 > > 具体问题要具体分析的,解决方案也不是唯一的,看你从什么角度去看待和处理。 大佬 这个代码我基本看懂了,一个侵入的,一个不侵入, 有个内部类控制释放 单例这块儿有资料吗 想学习一下

不同的加密库之间可以互为client、server吗,用这套代码可以不~

弱弱的问一下,预计啥时候开源呢 期待ing