1
0
mirror of https://github.com/golang/go synced 2024-11-19 16:44:43 -07:00
go/src
Russ Cox 81ed684a71 runtime: reconvert sigqueue.goc from C to Go
The original conversion in CL 132090043 cut up
the function in an attempt to avoid converting most
of the code to Go. This contorts the control flow.

While debugging the onM signal stack bug,
I reconverted sigqueue.goc in its entirety.
This restores the original control flow, which is
much easier to understand.

The current conversion is correct, it's just complex
and will be hard to maintain. The new one is as
readable as the original code.

I uploaded sigqueue.goc as the initial copy of
sigqueue.go in the CL, so if you view the diffs
of sigqueue.go comparing against patch set 2 [sic]
it will show the actual starting point.

For example:
https://golang.org/cl/136160043/diff2/20001:60001/src/pkg/runtime/sigqueue.go

LGTM=dvyukov, iant
R=golang-codereviews, dvyukov, iant
CC=golang-codereviews, khr, r
https://golang.org/cl/136160043
2014-09-04 13:51:12 -04:00
..
cmd runtime: reconvert sigqueue.goc from C to Go 2014-09-04 13:51:12 -04:00
lib9
libbio
liblink cmd/ld: diagnose Go calling C 2014-08-31 22:49:14 -04:00
pkg runtime: reconvert sigqueue.goc from C to Go 2014-09-04 13:51:12 -04:00
all.bash
all.bat
all.rc
androidtest.bash androidtest.bash: drop noisy adb sync output 2014-09-04 13:39:51 -04:00
clean.bash
clean.bat
clean.rc
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash run.bash: run misc/cgo/testgodefs/test.bash 2014-08-12 07:13:52 -07:00
run.bat
run.rc
sudo.bash