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

Issue 2990863002: Implement the 'shared' subcommand for mmutex (Closed)

Created:
3 years, 4 months ago by charliea (OOO until 10-5)
Modified:
3 years, 4 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Implement the 'shared' subcommand for mmutex After this is done, I'll move onto incorporating the drain file so that the lock scheduling is fairer for our purposes. BUG=416072 Review-Url: https://codereview.chromium.org/2990863002 Committed: https://github.com/luci/luci-go/commit/b6f37562e3b7780198095124623d6e40fce9971d

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Remove (c C) from tests #

Patch Set 4 : Made echo cross-platform #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -36 lines) Patch
M mmutex/cmd/mmutex/exclusive.go View 1 2 chunks +8 lines, -3 lines 0 comments Download
M mmutex/cmd/mmutex/exclusive_test.go View 1 2 3 5 6 5 chunks +31 lines, -8 lines 0 comments Download
M mmutex/cmd/mmutex/main.go View 1 chunk +1 line, -0 lines 0 comments Download
A + mmutex/cmd/mmutex/shared.go View 1 2 chunks +16 lines, -11 lines 0 comments Download
A + mmutex/cmd/mmutex/shared_test.go View 1 2 3 4 5 6 3 chunks +26 lines, -14 lines 0 comments Download
A mmutex/cmd/mmutex/test_helpers.go View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
A mmutex/lib/exit_code.go View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
charliea (OOO until 10-5)
https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go File mmutex/cmd/mmutex/exclusive_test.go (right): https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go#newcode93 mmutex/cmd/mmutex/exclusive_test.go:93: RunExclusive([]string{"echo", "should_succeed"}, 5*time.Millisecond, 0) This is unrelated to this ...
3 years, 4 months ago (2017-07-27 14:08:48 UTC) #2
iannucci
https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go File mmutex/cmd/mmutex/exclusive_test.go (right): https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go#newcode71 mmutex/cmd/mmutex/exclusive_test.go:71: Convey("RunExclusive times out if shared lock isn't released", t, ...
3 years, 4 months ago (2017-07-27 14:17:39 UTC) #3
charliea (OOO until 10-5)
https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go File mmutex/cmd/mmutex/exclusive_test.go (right): https://codereview.chromium.org/2990863002/diff/1/mmutex/cmd/mmutex/exclusive_test.go#newcode71 mmutex/cmd/mmutex/exclusive_test.go:71: Convey("RunExclusive times out if shared lock isn't released", t, ...
3 years, 4 months ago (2017-07-27 21:00:15 UTC) #4
iannucci
lgtm https://codereview.chromium.org/2990863002/diff/20001/mmutex/cmd/mmutex/exclusive_test.go File mmutex/cmd/mmutex/exclusive_test.go (right): https://codereview.chromium.org/2990863002/diff/20001/mmutex/cmd/mmutex/exclusive_test.go#newcode59 mmutex/cmd/mmutex/exclusive_test.go:59: Convey("RunExclusive times out if exclusive lock isn't released", ...
3 years, 4 months ago (2017-07-28 12:45:10 UTC) #5
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/2990863002/40001
3 years, 4 months ago (2017-07-28 13:15:00 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Win Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37a22cd88640ba10)
3 years, 4 months ago (2017-07-28 13:26:30 UTC) #10
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/2990863002/60001
3 years, 4 months ago (2017-07-31 16:34:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Win Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37b25106a9464e10)
3 years, 4 months ago (2017-07-31 16:47:36 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/2990863002/80001
3 years, 4 months ago (2017-07-31 16:55:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Win Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37b26d7b2a8c1410)
3 years, 4 months ago (2017-07-31 17:12:57 UTC) #20
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/2990863002/100001
3 years, 4 months ago (2017-07-31 17:14:18 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Luci-go Win Tester on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37b275d15d6b8810)
3 years, 4 months ago (2017-07-31 17:30:47 UTC) #25
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/2990863002/120001
3 years, 4 months ago (2017-07-31 17:43:51 UTC) #28
commit-bot: I haz the power
3 years, 4 months ago (2017-07-31 17:53:40 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-go/commit/b6f37562e3b7780198095124623d6e40fce9971d

Powered by Google App Engine
This is Rietveld 408576698