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

Issue 3107032: When asserting that an event object is not signaled,... (Closed)

Created:
10 years, 4 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

When asserting that an event object is not signaled, pass important values (the return value of WaitForSingleObject and the error code) as function arguments so that they are available in crash dumps. R=eroman BUG=51950, 52008 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57247

Patch Set 1 #

Patch Set 2 : Make the CHECK failure log message more generic. #

Patch Set 3 : Forgot to save the file last time. #

Patch Set 4 : Implement eroman's suggestion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M net/socket/tcp_client_socket_win.cc View 1 2 3 3 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
wtc
eroman: will this work as intended? I added the CHECK log message to prevent the ...
10 years, 4 months ago (2010-08-24 01:02:56 UTC) #1
eroman
LGTM. > eroman: will this work as intended? I believe that function will get inlined ...
10 years, 4 months ago (2010-08-24 02:37:47 UTC) #2
wtc
eroman: Thank you for the suggestion. I don't understand why CHECK(failed); LOG(INFO) << rv << ...
10 years, 4 months ago (2010-08-24 17:07:09 UTC) #3
eroman
We just discussed this in person, for the record the issue is with how our ...
10 years, 4 months ago (2010-08-24 18:46:14 UTC) #4
wtc
Please review Patch Set 4. Thanks.
10 years, 4 months ago (2010-08-24 18:57:13 UTC) #5
eroman
10 years, 4 months ago (2010-08-24 19:01:44 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698