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

Issue 2161043: code review 2161043: test: Reduce race conditions in chan/nonblock.go. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 8 months ago by iant
Modified:
14 years, 8 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

test: Reduce race conditions in chan/nonblock.go. nonblock.go wants to test nonblocking operations on synchronous channels, so it is inherently racy. This introduces loops to make the race conditions much more likely to succeed when using gccgo.

Patch Set 1 #

Patch Set 2 : code review 2161043: test: Reduce race conditions in chan/nonblock.go. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -38 lines) Patch
M test/chan/nonblock.go View 1 5 chunks +60 lines, -38 lines 0 comments Download

Messages

Total messages: 3
iant
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 8 months ago (2010-09-10 22:03:17 UTC) #1
r
LGTM
14 years, 8 months ago (2010-09-10 22:20:30 UTC) #2
iant
14 years, 8 months ago (2010-09-10 22:37:30 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=cb7bc94a378a ***

test: Reduce race conditions in chan/nonblock.go.

nonblock.go wants to test nonblocking operations on
synchronous channels, so it is inherently racy.  This
introduces loops to make the race conditions much more likely
to succeed when using gccgo.

R=r
CC=golang-dev
http://codereview.appspot.com/2161043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b