1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:54:40 -07:00
The Go programming language
Go to file
Russ Cox caa149f73d net: use chan bool instead of chan *netFD to avoid cycle
The cycle is *netFD -> cw chanl *netFD in struct ->
same *netFD in channel read buffer.

Because channels are finalized, the cycle makes them
uncollectable.  A better fix is to make channels not
finalized anymore, and that will happen, but this is
an easy, reasonable workaround until then.

Another good fix would be to zero the channel receive
buffer entry after the receive.  That too will happen.

R=r
CC=golang-dev
https://golang.org/cl/875043
2010-04-06 16:50:27 -07:00
doc doc/go_mem: remove semicolons 2010-04-06 11:14:44 +10:00
include Fix *l/*c -V flag segfault 2010-02-08 11:53:27 -08:00
lib godoc: support for title and subtitle headers when serving .html docs 2010-03-30 17:37:42 -07:00
misc godashboard: fix benchmarks page (first pass) 2010-04-05 07:34:27 +10:00
pkg more description 2009-10-15 23:08:46 -07:00
src net: use chan bool instead of chan *netFD to avoid cycle 2010-04-06 16:50:27 -07:00
test runtime: two proc bug fixes 2010-04-06 13:48:31 -07:00
.hgignore runtime: add GOROOT and Version 2010-03-16 23:10:33 -07:00
.hgtags release.2010-03-30 part two 2010-03-31 12:38:54 +11:00
AUTHORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
CONTRIBUTORS contributors, authors: add Risto Saarelma 2010-03-30 11:46:06 -07:00
favicon.ico add a favicon plus a couple of hi-res versions of gordon 2009-10-26 10:13:07 -07:00
LICENSE Add an explicit patent grant to the Go license. 2010-01-25 15:39:32 -08:00
README add a README file, so that if someone finds a 2009-11-08 09:57:37 -08:00

This is the source code repository for the Go programming language.  

For documentation about how to install and use Go,
visit http://golang.org/ or load doc/install.html in your web browser.

After installing Go, you can view a nicely formatted
doc/install.html by running godoc --http=:6060
and then visiting http://localhost:6060/doc/install.html.

Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.