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

Issue 19515: In rare cases (when running inside QEMU), the event... (Closed)

Created:
11 years, 10 months ago by wtc
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

In rare cases (when running inside QEMU), the event object is not yet in the signaled state after a Winsock function succeeds synchronously, so it is necessary to wait for it to become signaled. R=eroman BUG=6500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=8989

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -24 lines) Patch
M net/base/tcp_client_socket.h View 1 chunk +8 lines, -0 lines 3 comments Download
M net/base/tcp_client_socket_win.cc View 5 chunks +13 lines, -24 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wtc
eroman: please review this CL. darin: just FYI. QEMU testing shows that in rare cases, ...
11 years, 10 months ago (2009-01-30 20:37:24 UTC) #1
darin (slow to review)
LGTM
11 years, 10 months ago (2009-01-30 21:00:54 UTC) #2
eroman
lgtm http://codereview.chromium.org/19515/diff/9/10 File net/base/tcp_client_socket.h (right): http://codereview.chromium.org/19515/diff/9/10#newcode89 Line 89: // After a Winsock function succeeds synchronously, ...
11 years, 10 months ago (2009-01-30 21:44:46 UTC) #3
wtc
http://codereview.chromium.org/19515/diff/9/10 File net/base/tcp_client_socket.h (right): http://codereview.chromium.org/19515/diff/9/10#newcode89 Line 89: // After a Winsock function succeeds synchronously, waits ...
11 years, 10 months ago (2009-01-30 21:48:06 UTC) #4
eroman
11 years, 10 months ago (2009-01-30 21:55:17 UTC) #5
http://codereview.chromium.org/19515/diff/9/10
File net/base/tcp_client_socket.h (right):

http://codereview.chromium.org/19515/diff/9/10#newcode89
Line 89: // After a Winsock function succeeds synchronously, waits for the
On 2009/01/30 21:48:06, wtc wrote:
> On 2009/01/30 21:44:46, eroman wrote:
> > This should probably be wrapped in a:
> > 
> > #if defined (OS_WIN)
> > ...
> > #endif
> 
> Yes, this is a Windows-specific method.  It is already wrapped in a #if
> defined(OS_WIN).
> 
> 

Oh right, didn't notice!

LGTM.

Powered by Google App Engine
This is Rietveld 408576698