commit | 84f0970d100e67a1dc4fe9a1b16b7d293302044e | [log] [tgz] |
---|---|---|
author | Peter Boström <pbos@webrtc.org> | Mon Dec 07 23:07:01 2015 +0100 |
committer | Peter Boström <pbos@webrtc.org> | Mon Dec 07 22:07:11 2015 +0000 |
tree | b3eca5f9c979c3dedce765405f3cf90a1180217f | |
parent | 0f490a5b8609c1f10dba37d7a7b0b2fc055543eb [diff] [blame] |
Reland of "Create rtc::AtomicInt POD struct." Relands https://codereview.webrtc.org/1420043008/ with brace initializers instead of constructors hoping that they won't introduce static initializers. BUG= R=tommi@webrtc.org Review URL: https://codereview.webrtc.org/1498953002 . Cr-Commit-Position: refs/heads/master@{#10920}
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h index ddbf857..ed3998b 100644 --- a/webrtc/base/criticalsection.h +++ b/webrtc/base/criticalsection.h
@@ -106,7 +106,7 @@ void Unlock() UNLOCK_FUNCTION(); - volatile int lock_acquired; + AtomicInt lock_acquired; }; class GlobalLock : public GlobalLockPod {