Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Issue 2888403005: Change SyncSocket::ReceiveWithTimeout() to use poll() instead of select() on Posix platforms. (Closed)

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.

Description

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/+/b464b3efcea3392d5254e4bb55053916801fcef7

Patch Set 1 #

Patch Set 2 : Fixes. #

Patch Set 3 : Minor fixes in comments. #

Total comments: 2

Patch Set 4 : Code review (thestig@). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -25 lines) Patch
M base/sync_socket_posix.cc View 1 2 3 2 chunks +24 lines, -25 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
Henrik Grunell
3 years, 7 months ago (2017-05-20 10:35:06 UTC) #5
tommi (sloooow) - chröme
lgtm
3 years, 7 months ago (2017-05-21 07:59:33 UTC) #6
ossu-chromium
Maybe I'm a bit biased, but lgtm! :)
3 years, 7 months ago (2017-05-22 11:59:37 UTC) #11
Henrik Grunell
Lei - ptal.
3 years, 7 months ago (2017-05-22 16:08:38 UTC) #12
Lei Zhang
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 ...
3 years, 7 months ago (2017-05-22 23:20:32 UTC) #13
Henrik Grunell
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.cc#newcode162 base/sync_socket_posix.cc:162: const TimeDelta this_timeout = finish_time - base::TimeTicks::Now(); On 2017/05/22 ...
3 years, 7 months ago (2017-05-23 08:30:12 UTC) #14
ossu-chromium
On 2017/05/22 23:20:32, Lei Zhang wrote: > ossu: Curious, why didn't you just submit the ...
3 years, 7 months ago (2017-05-23 09:07:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888403005/60001
3 years, 7 months ago (2017-05-23 09:25:45 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 11:15:44 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b464b3efcea3392d5254e4bb5505...

Powered by Google App Engine
This is Rietveld 408576698