diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 02:25:44 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-17 02:25:44 +0000 |
commit | 2d4537d50684e97458ca6d27e98e742533bb1141 (patch) | |
tree | 90141a594a60c4f55e512cacbe5ca736f7ee2354 /base/build | |
parent | 3b680a8b28f63a13f82fbb5e7324fba69c28d75d (diff) | |
download | chromium_src-2d4537d50684e97458ca6d27e98e742533bb1141.zip chromium_src-2d4537d50684e97458ca6d27e98e742533bb1141.tar.gz chromium_src-2d4537d50684e97458ca6d27e98e742533bb1141.tar.bz2 |
Adds a helper class used to mark/define critical section in a class and then install controls to check that those critical sections are not violated.
This CL is due the thread posted on chromium-dev:
http://groups.google.com/group/chromium-dev/browse_frm/thread/30af0b63b6adb245.
From Gaetano Mendola <mendola bigfoot com>
Review URL: http://codereview.chromium.org/8621
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/build')
-rw-r--r-- | base/build/base.vcproj | 8 | ||||
-rw-r--r-- | base/build/base_unittests.vcproj | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/base/build/base.vcproj b/base/build/base.vcproj index 6202baa..10c7dad 100644 --- a/base/build/base.vcproj +++ b/base/build/base.vcproj @@ -850,6 +850,14 @@ > </File> <File + RelativePath="..\thread_collision_warner.cc" + > + </File> + <File + RelativePath="..\thread_collision_warner.h" + > + </File> + <File RelativePath="..\thread_local.h" > </File> diff --git a/base/build/base_unittests.vcproj b/base/build/base_unittests.vcproj index e822992..8263e074 100644 --- a/base/build/base_unittests.vcproj +++ b/base/build/base_unittests.vcproj @@ -336,6 +336,10 @@ > </File> <File + RelativePath="..\thread_collision_warner_unittest.cc" + > + </File> + <File RelativePath="..\thread_local_storage_unittest.cc" > </File> |