]> Cypherpunks repositories - gostls13.git/commit
runtime: runtime.usleep() bugfix on darwin/amd64 and linux/arm
authorShenghou Ma <minux.ma@gmail.com>
Wed, 11 Jan 2012 04:48:02 +0000 (20:48 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 11 Jan 2012 04:48:02 +0000 (20:48 -0800)
commit1250f94f93402a555a7dc905dfc5b0acc85c0b98
tree69573753dacfc5deb197000b1c7a6e6c4a6aafe1
parent5cf803f438e1afd6ddd46c7536d45fd7a68731f1
runtime: runtime.usleep() bugfix on darwin/amd64 and linux/arm

pkg/runtime/sys_darwin_amd64.s: fixes syscall select nr
pkg/runtime/sys_linux_arm.s: uses newselect instead of the now unimplemented
        (old) select, also fixes the wrong div/mod statements in runtime.usleep.
Fixes #2633

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/5504096
src/pkg/runtime/sys_darwin_amd64.s
src/pkg/runtime/sys_linux_arm.s