1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:10:05 -07:00
go/misc/cgo
Ian Lance Taylor b687d6a788 misc/cgo/testcarchive, misc/cgo/testcshared: sleep instead of sched_yield
Apparently when GOMAXPROCS == 1 a simple sched_yield in a tight loop is
not necessarily sufficient to permit a signal handler to run. Instead,
sleep for 1/1000 of a second.

Fixes #16649.

Change-Id: I83910144228556e742b7a92a441732ef61aa49d9
Reviewed-on: https://go-review.googlesource.com/33239
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-11-15 05:35:54 +00:00
..
errors misc/cgo/errors: fix malloc test for dragonfly 2016-10-25 20:11:50 +00:00
fortran misc/cgo/fortran: fix gfortran compile test 2016-05-04 15:08:16 +00:00
gmp all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
life all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
nocgo
stdio all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
test cmd/cgo: don't ignore qualifiers, don't cast to void* 2016-11-11 01:31:12 +00:00
testasan
testcarchive misc/cgo/testcarchive, misc/cgo/testcshared: sleep instead of sched_yield 2016-11-15 05:35:54 +00:00
testcshared misc/cgo/testcarchive, misc/cgo/testcshared: sleep instead of sched_yield 2016-11-15 05:35:54 +00:00
testgodefs cmd/cgo: add -srcdir option 2016-10-30 19:14:08 +00:00
testplugin cmd/compile: write type symbols referenced in ptabs 2016-11-03 14:07:34 +00:00
testsanitizers misc/cgo/testsanitizers: skip tests when vm.overcommit_memory=2 2016-11-03 16:04:33 +00:00
testshared cmd/compile, runtime: make the go.itab.* symbols module-local 2016-10-27 19:13:35 +00:00
testsigfwd misc/cgo/testsigfwd: add missing return statement 2016-08-30 21:44:14 +00:00
testso cmd/dist: convert testso test into Go 2015-06-12 04:33:50 +00:00
testsovar misc/cgo/testsovar: needs the extern keyword to export variables on non-windows platforms 2015-07-21 18:10:57 +00:00
testtls all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00