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下载,不过根据不同的环境,需要不通的编译。你得自己找找相关资料了。
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下载,不过根据不同的环境,需要不通的编译。你得自己找找相关资料了。
stl的线程安全只保证 多线程同时读一个容器安全、多线程同时写不同容器安全。