Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(795)

Issue 396002: CrashGenerationServer's state machine in can be invoked from both the application thread and thread… (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by alexeypa
Modified:
13 years ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://git.chromium.org/external/google-breakpad/src.git@master
Visibility:
Public.

Description

CrashGenerationServer's state machine can be invoked from both the application
thread and thread pool threads. This CL serializes access to the FSM state.
Handling of crash dump and client shutdown requests is still done
asynchronously.

BUG=132164
TEST=remoting_unittests.BreakpadWinDeathTest.*

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added Acquire() and Release() to AutoCriticalSection. #

Total comments: 3

Patch Set 3 : 80-column limit. #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/windows/common/auto_critical_section.h View 1 2 chunks +20 lines, -2 lines 0 comments Download
M client/windows/crash_generation/crash_generation_server.cc View 1 2 6 chunks +51 lines, -44 lines 0 comments Download
M client/windows/crash_generation/crash_generation_server.h View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 8
alexeypa
Please take a look.
13 years ago #1
Mark Mentovai
https://breakpad.appspot.com/396002/diff/1/client/windows/crash_generation/crash_generation_server.cc File client/windows/crash_generation/crash_generation_server.cc (right): https://breakpad.appspot.com/396002/diff/1/client/windows/crash_generation/crash_generation_server.cc#newcode131 client/windows/crash_generation/crash_generation_server.cc:131: EnterCriticalSection(&sync_); This is a little scary without a scoper. ...
13 years ago #2
alexeypa
FYI. https://breakpad.appspot.com/396002/diff/1/client/windows/crash_generation/crash_generation_server.cc File client/windows/crash_generation/crash_generation_server.cc (right): https://breakpad.appspot.com/396002/diff/1/client/windows/crash_generation/crash_generation_server.cc#newcode146 client/windows/crash_generation/crash_generation_server.cc:146: LeaveCriticalSection(&sync_); On 2012/06/12 16:42:40, Mark Mentovai wrote: > ...
13 years ago #3
Mark Mentovai
https://breakpad.appspot.com/396002/diff/11001/client/windows/crash_generation/crash_generation_server.cc File client/windows/crash_generation/crash_generation_server.cc (right): https://breakpad.appspot.com/396002/diff/11001/client/windows/crash_generation/crash_generation_server.cc#newcode139 client/windows/crash_generation/crash_generation_server.cc:139: // an I/O request is pending on the pipe ...
13 years ago #4
alexeypa
https://breakpad.appspot.com/396002/diff/11001/client/windows/crash_generation/crash_generation_server.cc File client/windows/crash_generation/crash_generation_server.cc (right): https://breakpad.appspot.com/396002/diff/11001/client/windows/crash_generation/crash_generation_server.cc#newcode139 client/windows/crash_generation/crash_generation_server.cc:139: // an I/O request is pending on the pipe ...
13 years ago #5
Mark Mentovai
LGTM
13 years ago #6
alexeypa
On 2012/06/12 20:57:29, Mark Mentovai wrote: > LGTM Thanks. I'm not a Breakpad committer though. ...
13 years ago #7
Mark Mentovai
13 years ago #8
I committed it for you at r970.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted