Changeset 269156 in webkit
- Timestamp:
- Oct 29, 2020, 11:10:27 AM (6 years ago)
- Location:
- trunk/Source/ThirdParty/libwebrtc
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Source/webrtc/rtc_base/synchronization/sequence_checker.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/libwebrtc/ChangeLog
r269147 r269156 1 2020-10-29 Youenn Fablet <youenn@apple.com> 2 3 Add some logging to SequenceCheckerImpl::IsCurrent 4 https://bugs.webkit.org/show_bug.cgi?id=218328 5 6 Reviewed by Eric Carlson. 7 8 * Source/webrtc/rtc_base/synchronization/sequence_checker.cc: 9 This might help debugging https://bugs.webkit.org/show_bug.cgi?id=218063. 10 1 11 2020-10-29 Youenn Fablet <youenn@apple.com> 2 12 -
trunk/Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/synchronization/sequence_checker.cc
r252473 r269156 9 9 */ 10 10 #include "rtc_base/synchronization/sequence_checker.h" 11 12 #include "rtc_base/logging.h" 11 13 12 14 #if defined(WEBRTC_MAC) … … 48 50 } 49 51 if (valid_queue_ || current_queue) { 52 if (valid_queue_ != current_queue) 53 RTC_LOG(LS_ERROR) << "SequenceCheckerImpl queue check is failing"; 50 54 return valid_queue_ == current_queue; 51 55 } 52 56 if (valid_system_queue_ && valid_system_queue_ == current_system_queue) { 57 if (valid_queue_ != current_queue) 58 RTC_LOG(LS_ERROR) << "SequenceCheckerImpl system queue check is failing"; 53 59 return true; 54 60 } 55 return rtc::IsThreadRefEqual(valid_thread_, current_thread); 61 auto result = rtc::IsThreadRefEqual(valid_thread_, current_thread); 62 if (!result) 63 RTC_LOG(LS_ERROR) << "SequenceCheckerImpl thread check is failing"; 64 return result; 56 65 } 57 66
Note:
See TracChangeset
for help on using the changeset viewer.