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

Issue 649693002: Add ScopedTaskSuspend and its test (Closed)

Created:
6 years, 2 months ago by Mark Mentovai
Modified:
6 years, 2 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add ScopedTaskSuspend and its test. This also introduces ScopedFcntlFlags. TEST=util_test ScopedTaskSuspend.*:ScopedFcntlFlags.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/2bd5e23ea49d8a7160bbdab403652fdd2f25086c

Patch Set 1 #

Total comments: 1

Patch Set 2 : https://codereview.chromium.org/649713002/ #

Patch Set 3 : Address review feedback, add ScopedFcntlFlags #

Patch Set 4 : Updates following VM testing #

Total comments: 2

Patch Set 5 : Address review feedback #

Patch Set 6 : Update documentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -0 lines) Patch
A util/mach/scoped_task_suspend.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A util/mach/scoped_task_suspend.cc View 1 1 chunk +39 lines, -0 lines 0 comments Download
A util/mach/scoped_task_suspend_test.cc View 1 2 3 4 1 chunk +87 lines, -0 lines 0 comments Download
M util/util.gyp View 3 4 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Mark Mentovai
6 years, 2 months ago (2014-10-10 17:03:51 UTC) #2
Robert Sesek
https://codereview.chromium.org/649693002/diff/1/util/mach/scoped_task_suspend_test.cc File util/mach/scoped_task_suspend_test.cc (right): https://codereview.chromium.org/649693002/diff/1/util/mach/scoped_task_suspend_test.cc#newcode39 util/mach/scoped_task_suspend_test.cc:39: static int CounterValue(TaskMemory* task_memory, mach_vm_address_t address) { Does this ...
6 years, 2 months ago (2014-10-13 15:01:37 UTC) #3
Mark Mentovai
Like this?
6 years, 2 months ago (2014-10-13 16:35:34 UTC) #4
Robert Sesek
I think the test is better because it's relying on time less, but it'd be ...
6 years, 2 months ago (2014-10-13 19:09:39 UTC) #5
Mark Mentovai
Updated per feedback.
6 years, 2 months ago (2014-10-13 20:24:32 UTC) #7
Robert Sesek
LGTM
6 years, 2 months ago (2014-10-13 21:34:51 UTC) #8
Mark Mentovai
6 years, 2 months ago (2014-10-13 22:05:28 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 (id:420001) manually as
2bd5e23ea49d8a7160bbdab403652fdd2f25086c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698