|
|
Chromium Code Reviews|
Created:
3 years, 7 months ago by Henrik Grunell Modified:
3 years, 7 months ago CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionChange SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms.
Removing the special case for fd > 1023 which can lead to audio glitches.
Code originally written by ossu@.
BUG=722720
Review-Url: https://codereview.chromium.org/2888403005
Cr-Commit-Position: refs/heads/master@{#473856}
Committed: https://chromium.googlesource.com/chromium/src/+/b464b3efcea3392d5254e4bb55053916801fcef7
Patch Set 1 #Patch Set 2 : Fixes. #Patch Set 3 : Minor fixes in comments. #
Total comments: 2
Patch Set 4 : Code review (thestig@). #Messages
Total messages: 21 (12 generated)
Description was changed from ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select(). Removing the special case for fd > 1023 which could lead to audio glitches. BUG=722720 ========== to ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which could lead to audio glitches. BUG=722720 ==========
grunell@chromium.org changed reviewers: + ossu@chromium.org, thestig@chromium.org, tommi@chromium.org
Description was changed from ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which could lead to audio glitches. BUG=722720 ========== to ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which can lead to audio glitches. BUG=722720 ==========
Description was changed from ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which can lead to audio glitches. BUG=722720 ========== to ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which can lead to audio glitches. Code originally written by ossu@. BUG=722720 ==========
lgtm
The CQ bit was checked by grunell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Maybe I'm a bit biased, but lgtm! :)
Lei - ptal.
lgtm with a nit. ossu: Curious, why didn't you just submit the CL yourself? https://codereview.chromium.org/2888403005/diff/40001/base/sync_socket_posix.cc File base/sync_socket_posix.cc (right): https://codereview.chromium.org/2888403005/diff/40001/base/sync_socket_posix.... base/sync_socket_posix.cc:162: const TimeDelta this_timeout = finish_time - base::TimeTicks::Now(); nit: no need for base:: inside namespace base. Like line 152 above.
https://codereview.chromium.org/2888403005/diff/40001/base/sync_socket_posix.cc File base/sync_socket_posix.cc (right): https://codereview.chromium.org/2888403005/diff/40001/base/sync_socket_posix.... base/sync_socket_posix.cc:162: const TimeDelta this_timeout = finish_time - base::TimeTicks::Now(); On 2017/05/22 23:20:32, Lei Zhang wrote: > nit: no need for base:: inside namespace base. Like line 152 above. Done.
On 2017/05/22 23:20:32, Lei Zhang wrote: > ossu: Curious, why didn't you just submit the CL yourself? Well, grunell@ did all the actual troubleshooting and identified the root cause. I just had some extra cycles to try a different implementation on a Friday afternoon, but didn't spend any time on cleaning it up. So it made sense to have him continue from my draft.
The CQ bit was checked by grunell@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from tommi@chromium.org, thestig@chromium.org, ossu@chromium.org Link to the patchset: https://codereview.chromium.org/2888403005/#ps60001 (title: "Code review (thestig@).")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1495531533420380,
"parent_rev": "a50429778eb03e6ad02e4f0500379d77a73c1b82", "commit_rev":
"b464b3efcea3392d5254e4bb55053916801fcef7"}
Message was sent while issue was closed.
Description was changed from ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which can lead to audio glitches. Code originally written by ossu@. BUG=722720 ========== to ========== Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. Removing the special case for fd > 1023 which can lead to audio glitches. Code originally written by ossu@. BUG=722720 Review-Url: https://codereview.chromium.org/2888403005 Cr-Commit-Position: refs/heads/master@{#473856} Committed: https://chromium.googlesource.com/chromium/src/+/b464b3efcea3392d5254e4bb5505... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/b464b3efcea3392d5254e4bb5505... |
