1
0
mirror of https://github.com/golang/go synced 2024-11-19 22:14:43 -07:00
The Go programming language
Go to file
Dmitriy Vyukov a574822f80 runtime: disable dynamic priority boosting on windows
Windows dynamic priority boosting assumes that a process has different types
of dedicated threads -- GUI, IO, computational, etc. Go processes use
equivalent threads that all do a mix of GUI, IO, computations, etc.
In such context dynamic priority boosting does nothing but harm, so turn it off.
In particular, if 2 goroutines do heavy IO on a server uniprocessor machine,
windows rejects to schedule timer thread for 2+ seconds when priority boosting is enabled.
Fixes #5971.

R=alex.brainman
CC=golang-dev
https://golang.org/cl/12406043
2013-08-04 14:08:13 +04:00
api api: update next.txt 2013-08-02 13:15:49 -07:00
doc doc: remove jquery.js and style.css 2013-08-01 17:36:45 +10:00
include include/plan9: define size_t to fix build breakage 2013-06-28 12:16:33 -07:00
lib cmd/godoc: delete from core repository 2013-08-01 11:21:17 +10:00
misc runtime: reimplement reflect.call to not use stack splitting. 2013-08-02 13:03:14 -07:00
src runtime: disable dynamic priority boosting on windows 2013-08-04 14:08:13 +04:00
test cmd/gc: insert \n at end of every input file 2013-07-30 10:27:08 -04:00
.hgignore build: ignore new zfiles, delete temp goplay binary in run.bash 2013-08-02 19:14:13 -07:00
.hgtags tag go1.1.1 2013-06-13 12:52:02 +10:00
AUTHORS A+C: Josh Bleecher Snyder (individual CLA) 2013-08-04 08:41:02 +10:00
CONTRIBUTORS A+C: Josh Bleecher Snyder (individual CLA) 2013-08-04 08:41:02 +10:00
favicon.ico
LICENSE
PATENTS LICENSE: separate, change PATENTS text 2010-12-06 16:31:59 -05:00
README
robots.txt

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.

--

Binary Distribution Notes

If you have just untarred a binary Go distribution, you need to set
the environment variable $GOROOT to the full path of the go
directory (the one containing this README).  You can omit the
variable if you unpack it into /usr/local/go, or if you rebuild
from sources by running all.bash (see doc/install.html).
You should also add the Go binary directory $GOROOT/bin
to your shell's path.

For example, if you extracted the tar file into $HOME/go, you might
put the following in your .profile:

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin

See doc/install.html for more details.