jumping656 / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Make thread-safe on Windows #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As the CookBook states, gmock currently is not thread-safe on Windows.

It would be great for Chrome if this feature could be added. Chrome is highly 
multi-threaded and it is sometimes not possible to avoid spinning up a helper 
thread in unit tests.

As things stand right now, it is easy to write a multi-threaded test under 
Linux only to have it flake in weird ways under Windows.

Original issue reported on code.google.com by bartfab@chromium.org on 11 May 2012 at 2:10

GoogleCodeExporter commented 9 years ago
Makes sense.

However, this is not a trivial change, and gmock is maintained by volunteers 
only, so please consider contributing a patch yourself. :)

Original comment by w...@google.com on 8 Mar 2013 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by w...@google.com on 8 Mar 2013 at 5:41