Closed liulinghao0421 closed 3 years ago
直接加锁封装一下, 应该很容易吧?线程锁都tc库里都有, 自己封装一下难度很小
该issue长期未更新。如果问题依旧没解决,欢迎重新打开issue。TARS社区有您更精彩。
Thanks for your supporting. The issue has not been updated for a long time. If the problem is still not resolved, welcome to reopen the issue.
What language are you using?
c++
What operating system (Linux, Ubuntu, …) and version?
Linux
What runtime / compiler are you using (e.g. jdk version or version of gcc)
gcc Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs). 请教一下大佬,tars有没有提供STL的线程安全方面的参考呢。我在项目中较多使用了map,但是在多线程中容易出现map奔溃,想请问一下tars有没有提供map类似的功能或者有什么可以替代map的已实现线程安全的呢?谢谢!!!