]> Cypherpunks repositories - gostls13.git/commit
doc: race condition in unsynchronized send/close
authorChangkun Ou <hi@changkun.us>
Sun, 16 Feb 2020 00:11:53 +0000 (01:11 +0100)
committerRob Pike <r@golang.org>
Mon, 2 Mar 2020 08:42:10 +0000 (08:42 +0000)
commitacac535c3ca571beeb168c953d6d672f61387ef1
tree7b482e765f803ed535694a174d2bf1ded109a9dd
parentb79acf97c79c63779acc77062eef70511a42be9b
doc: race condition in unsynchronized send/close

This CL documents that unsynchronized send and close operations
on a channel are detected as a race condition.

Fixes #27769

Change-Id: I7495a2d0dd834c3f3b6339f8ca18ea21ae979aa8
Reviewed-on: https://go-review.googlesource.com/c/go/+/219637
Reviewed-by: Rob Pike <r@golang.org>
doc/articles/race_detector.html