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

Issue 2539833003: Call WSAGetLastError immediately after the potentially failing call. (Closed)

Created:
4 years ago by Sigurður Ásgeirsson
Modified:
4 years ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, Peter Kasting
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call WSAGetLastError immediately after the potentially failing call. BUG=669593 Committed: https://crrev.com/6c48fe45a7573eef954f031a0ce4e42264427761 Cr-Commit-Position: refs/heads/master@{#435080}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Eric's comments. #

Patch Set 3 : No global namespace ::WSAGetLastError for consistency with rest of file. #

Messages

Total messages: 17 (11 generated)
Sigurður Ásgeirsson
Hey Eric, The heap allocator instrumentation I'm adding to tracked_objects::ScopedTracker uses TLS, which seems to ...
4 years ago (2016-11-29 19:10:06 UTC) #4
eroman
LGTM Is there any performance implication to calling WSAGetLastError() unconditionally? (I don't expect there would ...
4 years ago (2016-11-29 19:51:00 UTC) #7
Sigurður Ásgeirsson
Thanks - I don't think there should be any performance hit due to this. This ...
4 years ago (2016-11-29 20:27:55 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/2539833003/40001
4 years ago (2016-11-29 20:30:03 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 21:34:36 UTC) #15
commit-bot: I haz the power
4 years ago (2016-11-29 21:38:04 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6c48fe45a7573eef954f031a0ce4e42264427761
Cr-Commit-Position: refs/heads/master@{#435080}

Powered by Google App Engine
This is Rietveld 408576698