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

Issue 393283003: Add WorkerThread based methods for start/stop of worker threads. (Closed)

Created:
6 years, 5 months ago by nasko
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Project:
chromium
Visibility:
Public.

Description

Add WorkerThread based methods for start/stop of worker threads. This patch adds notification methods for start/stop of worker threads which accept a WorkerThread parameter. This is needed in order to move the worker threads in blink to use WebThread instead of its own version. It also adds support for shared timer to WebThreadImpl. BUG=301515 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284008

Patch Set 1 #

Patch Set 2 : Add shared timer to WebThread. #

Total comments: 4

Patch Set 3 : Remove OVERRIDE for now. #

Patch Set 4 : Move OVERRIDE to WebThreadImpl. #

Patch Set 5 : Add math.h to make gn build happy. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -8 lines) Patch
M content/child/blink_platform_impl.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/child/webthread_impl.h View 1 2 3 3 chunks +18 lines, -0 lines 0 comments Download
M content/child/webthread_impl.cc View 1 2 3 4 2 chunks +26 lines, -0 lines 0 comments Download
M content/child/worker_task_runner.h View 3 chunks +6 lines, -0 lines 0 comments Download
M content/child/worker_task_runner.cc View 4 chunks +58 lines, -8 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
nasko
Hey Jochen, This is a start of a CL to get the chromium side of ...
6 years, 5 months ago (2014-07-16 10:02:50 UTC) #1
nasko
Updated to add shared timer support in WebThread.
6 years, 5 months ago (2014-07-17 09:04:26 UTC) #2
jochen (gone - plz use gerrit)
if you leave out the OVERRIDEs, it should work as is, no?
6 years, 5 months ago (2014-07-17 09:09:37 UTC) #3
nasko
Yes, this is what I just did. On Thu, Jul 17, 2014 at 11:09 AM, ...
6 years, 5 months ago (2014-07-17 09:45:42 UTC) #4
jochen (gone - plz use gerrit)
lgtm https://codereview.chromium.org/393283003/diff/20001/content/child/blink_platform_impl.h File content/child/blink_platform_impl.h (right): https://codereview.chromium.org/393283003/diff/20001/content/child/blink_platform_impl.h#newcode152 content/child/blink_platform_impl.h:152: blink::WebThread* thread) OVERRIDE; nit. don't use OVERRIDE on ...
6 years, 5 months ago (2014-07-17 09:48:03 UTC) #5
nasko
https://codereview.chromium.org/393283003/diff/20001/content/child/blink_platform_impl.h File content/child/blink_platform_impl.h (right): https://codereview.chromium.org/393283003/diff/20001/content/child/blink_platform_impl.h#newcode152 content/child/blink_platform_impl.h:152: blink::WebThread* thread) OVERRIDE; On 2014/07/17 09:48:03, jochen wrote: > ...
6 years, 5 months ago (2014-07-17 10:49:33 UTC) #6
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 5 months ago (2014-07-17 10:49:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/393283003/60001
6 years, 5 months ago (2014-07-17 10:51:20 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 14:36:53 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 16:23:01 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_gn_rel/builds/26741)
6 years, 5 months ago (2014-07-17 16:23:03 UTC) #11
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 5 months ago (2014-07-17 19:18:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/393283003/80001
6 years, 5 months ago (2014-07-17 19:20:43 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 01:45:59 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 02:09:51 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/172151)
6 years, 5 months ago (2014-07-18 02:09:52 UTC) #16
nasko
The CQ bit was checked by nasko@chromium.org
6 years, 5 months ago (2014-07-18 05:06:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/393283003/80001
6 years, 5 months ago (2014-07-18 05:07:54 UTC) #18
commit-bot: I haz the power
Change committed as 284008
6 years, 5 months ago (2014-07-18 05:33:02 UTC) #19
sof
This is causing some cross bot redness, e.g., http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/34272 A Blink CL is referred to ...
6 years, 5 months ago (2014-07-18 08:30:38 UTC) #20
nasko
On 2014/07/18 08:30:38, sof wrote: > This is causing some cross bot redness, e.g., > ...
6 years, 5 months ago (2014-07-18 08:49:07 UTC) #21
sof
On 2014/07/18 08:49:07, nasko (in Munich) wrote: > On 2014/07/18 08:30:38, sof wrote: > > ...
6 years, 5 months ago (2014-07-18 08:50:29 UTC) #22
nasko
On 2014/07/18 08:50:29, sof wrote: > On 2014/07/18 08:49:07, nasko (in Munich) wrote: > > ...
6 years, 5 months ago (2014-07-18 08:59:24 UTC) #23
jochen (gone - plz use gerrit)
On 2014/07/18 at 08:59:24, nasko wrote: > On 2014/07/18 08:50:29, sof wrote: > > On ...
6 years, 5 months ago (2014-07-18 09:02:43 UTC) #24
sof
On 2014/07/18 08:59:24, nasko (in Munich) wrote: > On 2014/07/18 08:50:29, sof wrote: > > ...
6 years, 5 months ago (2014-07-18 09:03:35 UTC) #25
nasko
6 years, 5 months ago (2014-07-18 09:05:12 UTC) #26
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/404753002/ by nasko@chromium.org.

The reason for reverting is: Breaking blink bots..

Powered by Google App Engine
This is Rietveld 408576698