diff options
author | Austin Clements <austin@google.com> | 2015-01-28 14:51:49 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2015-01-29 17:37:11 +0000 |
commit | 6b7b0f9a0cc3d647af3494bfc716bb878211e97e (patch) | |
tree | 6c4672460147d59824b1437244e11d69452f6eb5 /src/runtime/runtime.go | |
parent | 7a71726b1f0b54b9241730e4bf7a5073676f17fa (diff) | |
download | go-6b7b0f9a0cc3d647af3494bfc716bb878211e97e.tar.gz go-6b7b0f9a0cc3d647af3494bfc716bb878211e97e.zip |
runtime: move all parfor-related code to parfor.go
This cleanup was slated for after the conversion of the runtime to Go.
Also improve type and function documentation.
Change-Id: I55a16b09e00cf701f246deb69e7ce7e3e04b26e7
Reviewed-on: https://go-review.googlesource.com/3393
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r-- | src/runtime/runtime.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go index ba9881fd91..0f660038fb 100644 --- a/src/runtime/runtime.go +++ b/src/runtime/runtime.go @@ -47,14 +47,6 @@ func makeStringSlice(n int) []string { return make([]string, n) } -// TODO: Move to parfor.go when parfor.c becomes parfor.go. -func parforalloc(nthrmax uint32) *parfor { - return &parfor{ - thr: &make([]parforthread, nthrmax)[0], - nthrmax: nthrmax, - } -} - var envs []string var argslice []string |