commit | 51366006261b19dc75b56f7d2a0d2ba5580d5434 | [log] [tgz] |
---|---|---|
author | Taylor Brandstetter <deadbeef@webrtc.org> | Tue Mar 14 23:45:49 2023 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 15 14:35:08 2023 |
tree | 02195005a301013d2a3f276b65adde59c51acfef | |
parent | 4e1c9570ed68d7d67a88a84286ea76429d29fc20 [diff] |
Implement WaitPoll for Fuchsia Fuchsia's libc provides `select` and `poll` but not `epoll`. This CL adds a `WaitPoll` method, which is modeled after `WaitSelect` but uses `poll`. The pre-existing `WaitPoll` method was renamed to `WaitPollOneDispatcher`. TESTED="2p video call on Fuchsia. WaitPoll is faster compared to WaitSelect, primarily because WaitSelect pessimistically calls getsockopt(SO_ERROR) on each fd, while WaitPoll does so only on fds that have entered an error state." Original author: tombergan@google.com Bug: None Change-Id: I83cc824fca40d691fd93712c1c933ff21b3f877c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/296826 Reviewed-by: Markus Handell <handellm@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tom Bergan <tombergan@google.com> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39564}
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.