1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:54:49 -07:00
go/src
Russ Cox 323a116fd0 libmach: fix new thread race with Linux
If you look at the sequence of values returned
by waitpid, it simply tells us about the child of
clone before it tells us that the parent called clone.
There's nothing we can do but assume unexpected
tids are newly cloned children.

Tested with 6prof on godoc.

Fixes #251.

R=r
CC=golang-dev
https://golang.org/cl/2167045
2010-09-11 23:42:04 -04:00
..
cmd gc: const nil bug 2010-09-11 15:47:56 -04:00
lib9 build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libcgo arm: make libcgo build during OS X cross-compile 2010-09-11 23:36:06 -04:00
libmach libmach: fix new thread race with Linux 2010-09-11 23:42:04 -04:00
pkg math: make portable Tan(Pi/2) return NaN 2010-09-11 23:41:25 -04:00
all-arm.bash
all-nacl.bash
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
env.bash build: create bin and pkg directories as needed; drop from hg 2010-09-02 14:20:02 -04:00
make.bash build: create bin and pkg directories as needed; drop from hg 2010-09-02 14:20:02 -04:00
Make.ccmd build: generate, clean .exe files on Windows 2010-09-09 01:42:55 -04:00
Make.clib build: fix build - last CL missed Make.clib 2010-08-24 20:15:52 -04:00
Make.cmd build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc build: avoid bad environment interactions 2010-09-11 23:41:40 -04:00
Make.pkg build: generate, clean .exe files on Windows 2010-09-09 01:42:55 -04:00
quietgcc.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
run.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash