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

Issue 25478010: Add ThreadPool.abort() to stop processing early. (Closed)

Created:
7 years, 2 months ago by M-A Ruel
Modified:
7 years, 2 months ago
CC:
chromium-reviews, csharp+cc_chromium.org, vadimsh+cc_chromium.org, maruel+cc_chromium.org
Base URL:
https://chromium.googlesource.com/a/chromium/tools/swarm_client@master
Visibility:
Public.

Description

Add ThreadPool.abort() to stop processing early. Make Progress more responsive in ThreadPool.join(). Change update_item() to allow decrement. R=vadimsh@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=226540

Patch Set 1 #

Patch Set 2 : s/slow/short/ #

Total comments: 5

Patch Set 3 : Add TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -22 lines) Patch
M googletest/run_test_cases.py View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M googletest/trace_test_cases.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/threading_utils_test.py View 1 chunk +28 lines, -0 lines 0 comments Download
M tools/isolateserver_load_test.py View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/run_swarm_tests_on_swarm.py View 3 chunks +6 lines, -6 lines 0 comments Download
M utils/threading_utils.py View 1 2 4 chunks +31 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Marc-Antoine Ruel (Google)
I needed .abort() for my load test. And I use the decrement size=-1 in the ...
7 years, 2 months ago (2013-10-02 14:08:31 UTC) #1
Vadim Sh.
https://codereview.chromium.org/25478010/diff/3001/googletest/run_test_cases.py File googletest/run_test_cases.py (right): https://codereview.chromium.org/25478010/diff/3001/googletest/run_test_cases.py#newcode867 googletest/run_test_cases.py:867: self.progress.update_item(line, index=1, size=need_to_retry) int(need_to_retry)? https://codereview.chromium.org/25478010/diff/3001/utils/threading_utils.py File utils/threading_utils.py (right): https://codereview.chromium.org/25478010/diff/3001/utils/threading_utils.py#newcode509 ...
7 years, 2 months ago (2013-10-02 18:19:48 UTC) #2
Marc-Antoine Ruel (Google)
https://codereview.chromium.org/25478010/diff/3001/googletest/run_test_cases.py File googletest/run_test_cases.py (right): https://codereview.chromium.org/25478010/diff/3001/googletest/run_test_cases.py#newcode867 googletest/run_test_cases.py:867: self.progress.update_item(line, index=1, size=need_to_retry) On 2013/10/02 18:19:48, Vadim Sh. wrote: ...
7 years, 2 months ago (2013-10-02 19:41:26 UTC) #3
Vadim Sh.
ok.. lgtm
7 years, 2 months ago (2013-10-02 19:47:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/25478010/5001
7 years, 2 months ago (2013-10-02 20:00:29 UTC) #5
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 20:02:10 UTC) #6
Message was sent while issue was closed.
Change committed as 226540

Powered by Google App Engine
This is Rietveld 408576698