commit | 3c5450e6932f7e7e711c3afe692a6a21f8945961 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Sun May 03 22:48:13 2020 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 04 18:20:10 2020 +0000 |
tree | 93350db2e191acfa9a6cfe3c51090a607e88efb7 | |
parent | 9e46cf5cc5dbd24e0602767a72b211eb23d46233 [diff] |
Add support for PendingTaskSafetyFlag to ToQueuedTask. This keeps usage of ToQueuedTask consistent and avoids callers having to add additional boiler plate when using the safety flag. From this: tq->PostTask(ToQueuedTask([safety = my_safety_flag_]() { if (!safety->alive()) return; Foo(); }); to this: tq->PostTask(ToQueuedTask(my_safety_flag_, []() { Foo(); }); Bug: none Change-Id: I205af56a64dd9839eb845321083d533140d614ca Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174262 Commit-Queue: Tommi <tommi@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31161}
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.