commit | 9a83dd729bf5dc604d44da2e937ae4079781eaf2 | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@webrtc.org> | Thu Jan 09 11:03:25 2020 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 09 19:49:23 2020 +0000 |
tree | 8e37325e0877af8eed90266a2c89c1f43baaec34 | |
parent | 3b19b2734385359704c193df054041599e30e9f2 [diff] |
Batch process pending tasks in the libevent TaskQueue This change improves performance under high load by processing all pending tasks each time the thread is woken up by libevent. Additionally, the pipe used to wake up the TaskQueue thread now not be written to if there's already a pending write on the pipe. This fixes a bug where under high load the pipe write buffer can fill and cause tasks to get dropped. Bug: webrtc:11259, webrtc:8876 Change-Id: Ic82978c71bf9e9a25f281ca4775d46168d161d4e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/165420 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30202}
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.