commit | 3f670e07fe9620d3b3c239067d554b7d545f0838 | [log] [tgz] |
---|---|---|
author | Ilya Nikolaevskiy <ilnik@webrtc.org> | Tue Oct 10 09:18:49 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 10 10:14:47 2017 |
tree | 001f9afb1861c559d91525e0ee6ed783c7e73ea7 | |
parent | ae81975bd3621a32c1f322a2f48aa1e70d97333a [diff] |
Fix potential crash bug in debug builds The call to |interframe_delay_max_moving_.Add()| below depends on |now| non decreasing in consequtive calls. However, if two threads are competing for the lock it may happen that current thread calculates |now| before the other thread, yet it will get the lock later. This will result in decreasing local time in consecutive calls and trigger a DCHECK. The same also applies to |timing_frame_info_counter_|. Bug: none Change-Id: I3376d88d4448c2c105e9227a445b11cd6ba8d341 Reviewed-on: https://webrtc-review.googlesource.com/7861 Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20217}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.