那位哥们有线程安全的stl库,请发到

解决方案 »

  1.   

    SGI STL。不过是Unix下的,好像VC用不了。
    STLport是根据SGI STL做的开源的、跨平台的STL库,也是线程安全的:
    STLport Features:  STLport is a multiplatform ANSI C++ Standard Library implementation. It is free, open-source product, featuring the following: 
        Advanced techniques and optimizations for maximum efficiency 
        Exception safety and thread safety 
        Important extensions - hash tables, singly-linked list, rope  STLport可以在www.STLport.org下载,不过根据不同的环境,需要不通的编译。你得自己找找相关资料了。
      

  2.   

    VC下有线程安全的库,那STL就喝西北风了.
      

  3.   

    stlport可以,但是线程安全的stl并不绝对安全。
    stl的线程安全只保证 多线程同时读一个容器安全、多线程同时写不同容器安全。