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

Issue 2164483003: relnote: Use NotifyChangedPriority when updating alarms instead of canceling and reregistering. Gua… (Closed)

Created:
4 years, 5 months ago by Zhongyi Shi
Modified:
4 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@11_127330079
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

relnote: Use UpdateImpl to cancel and set alarms. Guarded by quic_change_alarms_efficiently. Chromium doesn't support EpollAlarmQueue, this merge is to keep code consist. Merge internal change: 127449992 BUG=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M net/quic/quic_alarm.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/quic/quic_alarm.cc View 2 chunks +24 lines, -2 lines 1 comment Download
M net/quic/quic_flags.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/quic/quic_flags.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 7 (2 generated)
Zhongyi Shi
4 years, 5 months ago (2016-07-19 19:18:32 UTC) #2
Zhongyi Shi
+jdorfman
4 years, 5 months ago (2016-07-19 19:29:22 UTC) #3
Jeremy Dorfman
On 2016/07/19 19:29:22, Zhongyi Shi wrote: > +jdorfman LGTM.
4 years, 5 months ago (2016-07-19 19:37:47 UTC) #4
Ryan Hamilton
LGTM, but can you tweak the CL description (in the final CL too) 'since it ...
4 years, 5 months ago (2016-07-19 21:13:38 UTC) #5
Zhongyi Shi
4 years, 5 months ago (2016-07-19 22:34:12 UTC) #7
On 2016/07/19 21:13:38, Ryan Hamilton wrote:
> LGTM, but can you tweak the CL description (in the final CL too) 'since it
does
> not use NotifyChangedPriority.
> 
> https://codereview.chromium.org/2164483003/diff/1/net/quic/quic_alarm.cc
> File net/quic/quic_alarm.cc (right):
> 
>
https://codereview.chromium.org/2164483003/diff/1/net/quic/quic_alarm.cc#newc...
> net/quic/quic_alarm.cc:78: SetImpl();
> Hah! So in chromium UpdateImpl is basically Cancel() / Set(new_deadline)?

Done.

Powered by Google App Engine
This is Rietveld 408576698