wiki change: updates the primer on gtest's thread safety.

This commit is contained in:
wan@google.com 2010-04-19 20:49:41 +00:00
parent 09fa4eb3cc
commit 765cbccf86

View file

@ -488,10 +488,10 @@ GoogleTestAdvancedGuide, which describes many more useful Google Test features.
= Known Limitations =
Google Test is designed to be thread-safe. However, we haven't had
time to implement the synchronization primitives on various platforms
yet. Therefore, it is currently _unsafe_ to use Google Test
assertions from two threads concurrently. In most tests this is not
an issue as usually the assertions are done in the main thread. If you
want to help, you can volunteer to implement the necessary
synchronization primitives in `gtest-port.h`.
Google Test is designed to be thread-safe. The implementation is
thread-safe on systems where the `pthreads` library is available. It
is currently _unsafe_ to use Google Test assertions from two threads
concurrently on other systems (e.g. Windows). In most tests this is
not an issue as usually the assertions are done in the main thread. If
you want to help, you can volunteer to implement the necessary
synchronization primitives in `gtest-port.h` for your platform.