commit | fc43d11717e16dd427ac84fee614e5511e43cefd | [log] [tgz] |
---|---|---|
author | Qingsi Wang <qingsi@google.com> | Tue Apr 10 22:50:46 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 11 00:06:40 2018 |
tree | c065f6e826359b905ea7a59300173efdefa43d83 | |
parent | d2248f82d331d11e3661e221ec73ca94bbc7b816 [diff] |
Add thread checker to PortAllocator and its subclasses and fix a bug causing memory contention by threads. PortAllocator and its subclasses assume all of their methods except the constructor must be called on the same thread (the network thread in practice). This CL adds a thread checker to PortAllocator and its subclasses for thread safety, and fixes bugs of invoking some of their methods in PeerConnection on the signaling thread. Bug: webrtc:9112 Change-Id: I33ba9bae72ec09a45ec70435962f3f25cd31583c Reviewed-on: https://webrtc-review.googlesource.com/66945 Commit-Queue: Qingsi Wang <qingsi@google.com> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22814}
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.
Authoritative list of directories that contain the native API header files.