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

Issue 396063011: Extending the OrderedSimpleTaskRunner unit tests to show ordering issues. (Closed)

Created:
6 years, 5 months ago by mithro-old
Modified:
6 years, 3 months ago
Reviewers:
simonhong, Sami, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

Extending the OrderedSimpleTaskRunner unit tests to show ordering issues. The OrderedSimpelTaskRunner doesn't understand Now() at all, hence tasks which are posted with delays can end up executing in weird orders. This effect is most notable when using PostTask inside a task! BUG=

Patch Set 1 #

Total comments: 3

Patch Set 2 : Rebase onto master after 3 weeks away. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -17 lines) Patch
M cc/test/ordered_simple_task_runner_unittest.cc View 2 chunks +178 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mithro-old
Hi guys, I was trying to understand how my change to add Now support to ...
6 years, 5 months ago (2014-07-16 14:11:06 UTC) #1
Sami
Looks like TestSimpleTaskRunner just uses 0 as the posting time, which would explain this. Shall ...
6 years, 5 months ago (2014-07-16 14:36:54 UTC) #2
mithro-old
On 2014/07/16 14:36:54, Sami wrote: > Looks like TestSimpleTaskRunner just uses 0 as the posting ...
6 years, 5 months ago (2014-07-17 03:31:27 UTC) #3
Sami
On 2014/07/17 03:31:27, mithro(OO till 11 Aug) wrote: > On 2014/07/16 14:36:54, Sami wrote: > ...
6 years, 5 months ago (2014-07-17 11:31:35 UTC) #4
brianderson
Thanks for writing all these tests. I agree with all of the expectations regarding correct ...
6 years, 5 months ago (2014-07-18 00:23:16 UTC) #5
mithro-old
Should we try and fix OrderedSimpleTaskRunner without Now functionality? Or should we just land that ...
6 years, 5 months ago (2014-07-18 00:28:04 UTC) #6
brianderson
On 2014/07/18 00:28:04, mithro(OO till 11 Aug) wrote: > Should we try and fix OrderedSimpleTaskRunner ...
6 years, 5 months ago (2014-07-18 00:31:52 UTC) #7
mithro-old
I'll give it a go. Sami, do you agree with Brian that the system should ...
6 years, 5 months ago (2014-07-18 00:46:35 UTC) #8
Sami
On 2014/07/18 00:46:35, mithro(OO till 11 Aug) wrote: > I'll give it a go. Sami, ...
6 years, 5 months ago (2014-07-18 16:35:27 UTC) #9
mithro-old
On 2014/07/18 16:35:27, Sami wrote: > On 2014/07/18 00:46:35, mithro(OO till 11 Aug) wrote: > ...
6 years, 4 months ago (2014-08-14 06:02:19 UTC) #10
brianderson
Do you intend to roll this patch into https://codereview.chromium.org/387493002?
6 years, 4 months ago (2014-08-21 21:29:23 UTC) #11
mithro-old
6 years, 3 months ago (2014-08-25 05:31:02 UTC) #12
On 2014/08/21 at 21:29:23, brianderson wrote:
> Do you intend to roll this patch into
https://codereview.chromium.org/387493002?

This patch was extracted out of https://codereview.chromium.org/387493002 in the
first place. I'm not planning on landing this. Closing.

Powered by Google App Engine
This is Rietveld 408576698