commit | 86ee89f73e4f4799b3ebcc0b5c65837c9601fe6d | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Tue Apr 20 16:58:01 2021 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 21 07:04:01 2021 +0000 |
tree | b5a17b95717c4dfc28fb7cb9de511e3ca4f71faf | |
parent | e313c0702030dabc82383faf88188945f898c656 [diff] |
Simplify reference counting implementation of PendingTaskSafetyFlag. On a 32bit system, this reduces the allocation size of the flag down from 12 bytes to 8, and removes the need for a vtable (the extra 4 bytes are the vtable pointer). The downside is that this change makes the binary layout of the flag, less compatible with RefCountedObject<> based reference counting objects and thus we don't immediately get the benefits of identical COMDAT folding and subsequently there's a slight binary size increase. With wider use, the binary size benefits will come. Bug: none Change-Id: I04129771790a3258d6accaf0ab1258b7a798a55e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215681 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33793}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.