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

Issue 505002: Updating BreakpadController to allow start and stop being nop. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by qsr
Modified:
11 years, 3 months ago
Reviewers:
Mark Mentovai, glider, qsr1
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

 Updating BreakpadController to allow start and stop being nop.

 When BreakpadController is already started or stopped, trying to restart it or
restopping it will now be no-op instead of asserting.
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1092

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/ios/BreakpadController.mm View 1 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 7
qsr
11 years, 4 months ago #1
Mark Mentovai
LGTM https://breakpad.appspot.com/505002/diff/1/src/client/ios/BreakpadController.mm File src/client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/505002/diff/1/src/client/ios/BreakpadController.mm#newcode132 src/client/ios/BreakpadController.mm:132: void(^startBlock)() = ^{ Let’s move the declaration of ...
11 years, 4 months ago #2
qsr
https://breakpad.appspot.com/505002/diff/1/src/client/ios/BreakpadController.mm File src/client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/505002/diff/1/src/client/ios/BreakpadController.mm#newcode132 src/client/ios/BreakpadController.mm:132: void(^startBlock)() = ^{ On 2012/12/17 14:17:22, Mark Mentovai wrote: ...
11 years, 4 months ago #3
glider
Am I understanding correctly that start() and stop() can be called from two different threads? ...
11 years, 3 months ago #4
qsr1
Start and stop must be called from the same thread. On Tue, Jan 15, 2013 ...
11 years, 3 months ago #5
glider
Ok, sorry for the false alarm.
11 years, 3 months ago #6
qsr
11 years, 3 months ago #7
 Start and stop must be called from the same thread. The controller is not
thread safe.


On Tue, Jan 15, 2013 at 10:44 AM, Benjamin Lerman <qsr@google.com> wrote:

>  Start and stop must be called from the same thread.
>
>
> On Tue, Jan 15, 2013 at 9:52 AM, <glider@chromium.org> wrote:
>
>> Am I understanding correctly that start() and stop() can be called from
>> two different threads? If so, I smell bad synchronization here.
>>
>> https://breakpad.appspot.com/**505002/<https://breakpad.appspot.com/505002/>
>>
>
>
>
> --
>         Benjamin
>
Sign in to reply to this message.

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