commit | 695af944c47265ba3b0b3a8cc16334c2c9840ed8 | [log] [tgz] |
---|---|---|
author | Ruslan Burakov <kuddai@google.com> | Tue Feb 26 15:19:20 2019 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 26 15:27:32 2019 +0000 |
tree | c64927ed3bb8203d8f70ba8135b3fe75d7b562bc | |
parent | fee13e8c0d32a81e4e4e09c1c0b4c6a0645e4571 [diff] [blame] |
Add reentrancy comment for critical section. Change-Id: I921484802d8c73c5aa28138726a8826cc3689fd8 Bug: webrtc:10347 Change-Id: I921484802d8c73c5aa28138726a8826cc3689fd8 Reviewed-on: https://webrtc-review.googlesource.com/c/123767 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Ruslan Burakov <kuddai@google.com> Cr-Commit-Position: refs/heads/master@{#26856}
diff --git a/rtc_base/critical_section.h b/rtc_base/critical_section.h index f744a5e..a81fa0b 100644 --- a/rtc_base/critical_section.h +++ b/rtc_base/critical_section.h
@@ -52,7 +52,7 @@ // Locking methods (Enter, TryEnter, Leave)are const to permit protecting // members inside a const context without requiring mutable CriticalSections -// everywhere. +// everywhere. CriticalSection is reentrant lock. class RTC_LOCKABLE CriticalSection { public: CriticalSection();